|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp 254 REGISTER_MATCHER(hasBody);
tools/clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp 159 unless(hasBody(hasSuspiciousStmt("initVarName")))).bind("forLoop");
tools/clang/tools/extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp 159 unless(hasBody(hasDescendant(
tools/clang/tools/extra/clang-tidy/bugprone/MultipleStatementMacroCheck.cpp 62 whileStmt(hasBody(Inner)), forStmt(hasBody(Inner))))
62 whileStmt(hasBody(Inner)), forStmt(hasBody(Inner))))
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp 604 hasBody(has(returnStmt(hasReturnValue(AnyOfCallOrDREWithoutInc))))))));
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousSemicolonCheck.cpp 24 forStmt(hasBody(nullStmt().bind("semi"))),
25 cxxForRangeStmt(hasBody(nullStmt().bind("semi"))),
26 whileStmt(hasBody(nullStmt().bind("semi")))))
tools/clang/tools/extra/clang-tidy/bugprone/UnusedReturnValueCheck.cpp 71 auto UnusedInWhileStmt = whileStmt(hasBody(MatchedCallExpr));
72 auto UnusedInDoStmt = doStmt(hasBody(MatchedCallExpr));
75 hasIncrement(MatchedCallExpr), hasBody(MatchedCallExpr)));
76 auto UnusedInRangeForStmt = cxxForRangeStmt(hasBody(MatchedCallExpr));
tools/clang/tools/extra/clang-tidy/misc/UnusedParametersCheck.cpp 33 functionDecl(isDefinition(), hasBody(stmt()), hasAnyParameter(decl()))
tools/clang/tools/extra/clang-tidy/modernize/UseEqualsDeleteCheck.cpp 42 unless(anyOf(hasBody(stmt()), isDefaulted(), isDeleted(),
47 anyOf(PrivateSpecialFn, hasBody(stmt()), isPure(),
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp 114 const auto HasInterestingLoopBody = hasBody(
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp 88 functionDecl(hasBody(stmt()), isDefinition(), unless(isImplicit()),
tools/clang/tools/extra/clang-tidy/utils/NamespaceAliaser.cpp 47 match(functionDecl(hasBody(compoundStmt(has(declStmt(
tools/clang/unittests/AST/ASTImporterTest.cpp 606 hasBody(compoundStmt(has(declStmt(hasSingleDecl(
951 functionDecl(hasBody(compoundStmt(
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp 1380 forStmt(hasBody(compoundStmt()))));
1382 forStmt(hasBody(compoundStmt()))));
1384 whileStmt(hasBody(compoundStmt()))));
1386 doStmt(hasBody(compoundStmt()))));
1388 cxxForRangeStmt(hasBody(compoundStmt()))));
1389 EXPECT_TRUE(matches("void f() {}", functionDecl(hasBody(compoundStmt()))));
1390 EXPECT_TRUE(notMatches("void f();", functionDecl(hasBody(compoundStmt()))));
1392 functionDecl(hasBody(compoundStmt()))));