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

Method cxxBoolLiteralExpr

test/testclangimport.cpp:325–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323 }
324
325 void cxxBoolLiteralExpr() {
326 const char clang[] = "`-VarDecl 0x3940608 <a.cpp:1:1, col:10> col:6 x 'bool' cinit\n"
327 " `-CXXBoolLiteralExpr 0x39406a8 <col:10> 'bool' true";
328 ASSERT_EQUALS("bool x@1 = true ;", parse(clang));
329 }
330
331 void cxxConstructorDecl1() {
332 const char clang[] = "|-CXXConstructorDecl 0x428e890 <a.cpp:11:1, col:24> col:11 C 'void ()'\n"

Callers

nothing calls this directly

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected