Home
last modified time | relevance | path

Searched refs:runCheckerOnCode (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/unittests/StaticAnalyzer/
DRegisterCustomCheckersTest.cpp53 EXPECT_TRUE(runCheckerOnCode<addCustomChecker>("void f() {;}", Diags)); in TEST()
83 runCheckerOnCode<addLocIncDecChecker>("void f() { int *p; (*p)++; }")); in TEST()
171 EXPECT_TRUE(runCheckerOnCode<addDep>("void f() {int i;}", Diags)); in TEST()
273 EXPECT_TRUE(runCheckerOnCode<addWeakDepCheckerBothEnabled>( in TEST()
281 EXPECT_TRUE(runCheckerOnCode<addWeakDepCheckerBothEnabledSwitched>( in TEST()
288 EXPECT_TRUE(runCheckerOnCode<addWeakDepCheckerDepDisabled>( in TEST()
294 EXPECT_TRUE(runCheckerOnCode<addWeakDepCheckerDepUnspecified>( in TEST()
300 runCheckerOnCode<addWeakDepTransitivity>("void f() {int i;}", Diags)); in TEST()
306 runCheckerOnCode<addWeakDepHasWeakDep>("void f() {int i;}", Diags)); in TEST()
416 runCheckerOnCode<addWeakDepHasStrongDep>("void f() {int i;}", Diags)); in TEST()
[all …]
DTestReturnValueUnderConstruction.cpp57 EXPECT_TRUE(runCheckerOnCode<addTestReturnValueUnderConstructionChecker>( in TEST()
75 EXPECT_TRUE(runCheckerOnCode<addTestReturnValueUnderConstructionChecker>( in TEST()
94 EXPECT_TRUE(runCheckerOnCode<addTestReturnValueUnderConstructionChecker>( in TEST()
DCheckerRegistration.h79 bool runCheckerOnCode(const std::string &Code, std::string &Diags) { in runCheckerOnCode() function
87 bool runCheckerOnCode(const std::string &Code) { in runCheckerOnCode() function
89 return runCheckerOnCode<Fns...>(Code, Diags); in runCheckerOnCode()
DCallEventTest.cpp75 EXPECT_TRUE(runCheckerOnCode<addCXXDeallocatorChecker>(R"( in TEST()