MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / loadLibCombinations

Method loadLibCombinations

test/testlibrary.cpp:1161–1174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1159 }
1160
1161 void loadLibCombinations() const {
1162 {
1163 const Settings s = settingsBuilder().library("std.cfg").library("gnu.cfg").library("bsd.cfg").build();
1164 ASSERT_EQUALS(s.library.defines().empty(), false);
1165 }
1166 {
1167 const Settings s = settingsBuilder().library("std.cfg").library("microsoft_sal.cfg").build();
1168 ASSERT_EQUALS(s.library.defines().empty(), false);
1169 }
1170 {
1171 const Settings s = settingsBuilder().library("std.cfg").library("windows.cfg").library("mfc.cfg").build();
1172 ASSERT_EQUALS(s.library.defines().empty(), false);
1173 }
1174 }
1175
1176 void smartpointer() const {
1177 const Settings s = settingsBuilder().library("std.cfg").build();

Callers

nothing calls this directly

Calls 4

buildMethod · 0.80
libraryMethod · 0.80
definesMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected