-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcppcheck.supp
More file actions
45 lines (41 loc) · 2.29 KB
/
Copy pathcppcheck.supp
File metadata and controls
45 lines (41 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// 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.
// (The WebSocketBehavior is moved into .ws() in ws_server.cc.)
accessMoved:*/ws_server.cc
// config.h uses nlohmann's NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT macro to generate the
// JSON (de)serialisers. cppcheck cannot expand the macro without the nlohmann headers and reports
// it as an unknown macro; the real toolchain compiles it cleanly.
unknownMacro:*/config.h
// 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
functionStatic:*/cyclic_timer_macos.cc
// RouteContext is an aggregate whose members are references (DeviceManager& / MonitoringManager&).
// cppcheck's uninitMemberVarNoCtor wants a constructor that initializes them, but a reference
// member of an aggregate is always initialized by aggregate initialization — it cannot carry a
// default initializer and needs no constructor, so it can never be uninitialized. False positive.
uninitMemberVarNoCtor:*/web_api.h
// 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. These 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
syntaxError:*/monitoring_test.cc
syntaxError:*/monitoring_manager_test.cc
syntaxError:*/parameter_cache_test.cc
syntaxError:*/parameter_refresher_test.cc
syntaxError:*/process_data_ring_test.cc
syntaxError:*/process_data_dump_test.cc
syntaxError:*/ring_log_sink_test.cc
syntaxError:*/monitoring_api_test.cc
syntaxError:*/process_image_test.cc
syntaxError:*/cia402_test.cc
syntaxError:*/cia402_drive_test.cc
syntaxError:*/somanet_drive_test.cc
syntaxError:*/sii_test.cc