forked from Archive/PX4-Autopilot
clang-tidy readability-named-parameter
This commit is contained in:
parent
0d0cbd8243
commit
17c1114b3e
|
@ -62,7 +62,6 @@ Checks: '*
|
||||||
,-readability-else-after-return
|
,-readability-else-after-return
|
||||||
,-readability-implicit-bool-cast
|
,-readability-implicit-bool-cast
|
||||||
,-readability-inconsistent-declaration-parameter-name
|
,-readability-inconsistent-declaration-parameter-name
|
||||||
,-readability-named-parameter
|
|
||||||
,-readability-non-const-parameter
|
,-readability-non-const-parameter
|
||||||
,-readability-redundant-declaration
|
,-readability-redundant-declaration
|
||||||
,-readability-redundant-member-init
|
,-readability-redundant-member-init
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit a2ef69ec51579947d76accec427ca8f74a7938f7
|
Subproject commit f80732f1b157c18f4b520b981f705b87f87a7ac8
|
|
@ -528,7 +528,7 @@ void Simulator::poll_topics()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void *Simulator::sending_trampoline(void *)
|
void *Simulator::sending_trampoline(void * /*unused*/)
|
||||||
{
|
{
|
||||||
_instance->send();
|
_instance->send();
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
|
@ -173,7 +173,7 @@ public:
|
||||||
int instance = 0,
|
int instance = 0,
|
||||||
List<SubscriptionNode *> *list = nullptr);
|
List<SubscriptionNode *> *list = nullptr);
|
||||||
|
|
||||||
Subscription(const Subscription &);
|
Subscription(const Subscription & /*other*/);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deconstructor
|
* Deconstructor
|
||||||
|
|
|
@ -84,7 +84,8 @@ private:
|
||||||
UnitTest() : pubsubtest_passed(false), pubsubtest_print(false) {}
|
UnitTest() : pubsubtest_passed(false), pubsubtest_print(false) {}
|
||||||
|
|
||||||
// Disallow copy
|
// Disallow copy
|
||||||
UnitTest(const uORBTest::UnitTest &) {};
|
UnitTest(const uORBTest::UnitTest & /*unused*/) = delete;
|
||||||
|
|
||||||
static int pubsubtest_threadEntry(char *const argv[]);
|
static int pubsubtest_threadEntry(char *const argv[]);
|
||||||
int pubsublatency_main();
|
int pubsublatency_main();
|
||||||
|
|
||||||
|
|
|
@ -1221,7 +1221,7 @@ namespace gyrosim
|
||||||
|
|
||||||
GYROSIM *g_dev_sim; // on simulated bus
|
GYROSIM *g_dev_sim; // on simulated bus
|
||||||
|
|
||||||
int start(enum Rotation);
|
int start(enum Rotation /*rotation*/);
|
||||||
int stop();
|
int stop();
|
||||||
int test();
|
int test();
|
||||||
int reset();
|
int reset();
|
||||||
|
|
Loading…
Reference in New Issue