mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 05:20:06 +08:00
clang-tidy readability-static-definition-in-anonymous-namespace
This commit is contained in:
@@ -188,7 +188,7 @@ Checks: 'clang-diagnostic-*,clang-analyzer-*,-*,
|
|||||||
readability-redundant-string-cstr,
|
readability-redundant-string-cstr,
|
||||||
readability-redundant-string-init,
|
readability-redundant-string-init,
|
||||||
## TODO: fix code and enable # readability-simplify-boolean-expr,
|
## TODO: fix code and enable # readability-simplify-boolean-expr,
|
||||||
#readability-static-definition-in-anonymous-namespace,
|
readability-static-definition-in-anonymous-namespace,
|
||||||
readability-uniqueptr-delete-release,
|
readability-uniqueptr-delete-release,
|
||||||
'
|
'
|
||||||
WarningsAsErrors: '*'
|
WarningsAsErrors: '*'
|
||||||
|
|||||||
@@ -862,7 +862,7 @@ enum PortMode {
|
|||||||
PORT2_16PWM,
|
PORT2_16PWM,
|
||||||
};
|
};
|
||||||
|
|
||||||
static PortMode g_port_mode = PORT_MODE_UNDEFINED;
|
PortMode g_port_mode = PORT_MODE_UNDEFINED;
|
||||||
|
|
||||||
int
|
int
|
||||||
hil_new_mode(PortMode new_mode)
|
hil_new_mode(PortMode new_mode)
|
||||||
|
|||||||
Reference in New Issue
Block a user