-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcppcheck.supp
More file actions
19 lines (17 loc) · 1.03 KB
/
cppcheck.supp
File metadata and controls
19 lines (17 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// cppcheck 2.20.0 misidentifies the argument inside std::move() as a post-move
// access, flagging std::move(x) as both moving and reading x in the same expression.
accessMoved:*/server.cc
// CyclicTimer has platform-split members (#ifdef _WIN32 / #else). cppcheck
// analyses each .cc against both preprocessor branches, so it sees the Linux
// implementation without Linux members (and vice versa) and incorrectly
// concludes that waitForNextCycle() could be static.
functionStatic:*/cyclic_timer_linux.cc
functionStatic:*/cyclic_timer_windows.cc
// cppcheck 2.20.0 tokenizer limitation: GTest's TEST() macro (which cppcheck
// cannot expand without the system header) is misparsed as a syntax error when it
// is the first construct inside an anonymous namespace — the layout these node
// tests use to keep their FakeDriver test doubles TU-local. All three files
// compile cleanly with the real toolchain (verified with g++ -fsyntax-only).
syntaxError:*/device_manager_test.cc
syntaxError:*/device_test.cc
syntaxError:*/device_parameter_test.cc