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

Method smartpointer

test/testlibrary.cpp:1176–1183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1174 }
1175
1176 void smartpointer() const {
1177 const Settings s = settingsBuilder().library("std.cfg").build();
1178 const Library& library = s.library;
1179
1180 ASSERT(!library.detectSmartPointer(nullptr));
1181
1182 // TODO: add more tests
1183 }
1184};
1185
1186REGISTER_TEST(TestLibrary)

Callers

nothing calls this directly

Calls 3

buildMethod · 0.80
libraryMethod · 0.80
detectSmartPointerMethod · 0.80

Tested by

no test coverage detected