Home
last modified time | relevance | path

Searched refs:hasSingleDecl (Results 1 – 17 of 17) sorted by relevance

/external/clang/unittests/AST/
DASTImporterTest.cpp276 hasSingleDecl( in TEST()
299 hasSingleDecl( in TEST()
307 hasSingleDecl( in TEST()
374 hasSingleDecl( in TEST()
437 hasSingleDecl( in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DInefficientVectorOperationCheck.cpp97 declStmt(hasSingleDecl(equalsBoundNode(std::string(VarDeclName)))) in AddMatcher()
107 declStmt(hasSingleDecl(varDecl(hasInitializer(integerLiteral(equals(0)))) in AddMatcher()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DQualifiedAutoCheck.cpp115 hasSingleDecl( in registerMatchers()
123 hasSingleDecl( in registerMatchers()
/external/clang/docs/
DLibASTMatchersTutorial.rst235 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl()))))
242 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
258 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
277 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
481 hasSingleDecl(varDecl(hasInitializer(integerLiteral(equals(0))))
/external/llvm-project/clang/docs/
DLibASTMatchersTutorial.rst227 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl()))))
234 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
250 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
269 forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
473 hasSingleDecl(varDecl(hasInitializer(integerLiteral(equals(0))))
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertCheck.cpp115 hasLoopInit(declStmt(hasSingleDecl(InitToZeroMatcher()))), in makeArrayLoopMatcher()
217 declStmt(hasSingleDecl(InitDeclMatcher)))), in makeIteratorLoopMatcher()
318 declStmt(hasSingleDecl(InitToZeroMatcher())))), in makePseudoArrayLoopMatcher()
/external/llvm-project/clang/lib/Analysis/
DExprMutationAnalyzer.cpp450 const auto DeclStmtToNonRefToArray = declStmt(hasSingleDecl(varDecl(hasType( in findRangeLoopMutation()
479 hasSingleDecl(varDecl(hasType(hasUnqualifiedDesugaredType(referenceType( in findRangeLoopMutation()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DNumberObjectConversionChecker.cpp323 declStmt(hasSingleDecl( in checkASTCodeBody()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DLoopUnrolling.cpp144 anyOf(declStmt(hasSingleDecl( in forLoopMatcher()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp254 REGISTER_MATCHER(hasSingleDecl); in RegistryMaps()
/external/llvm-project/clang/unittests/Tooling/
DTransformerTest.cpp1235 hasSingleDecl(varDecl(hasInitializer(integerLiteral(equals(0)))) in TEST_F()
1308 hasSingleDecl(varDecl(hasInitializer(integerLiteral(equals(0)))) in TEST_F()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp324 REGISTER_MATCHER(hasSingleDecl); in RegistryMaps()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp2625 hasInitStatement(declStmt(hasSingleDecl(varDecl( in TEST()
3218 declStmt(hasSingleDecl(varDecl(hasInitializer(anything())))); in TEST()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp1277 declStmt(hasSingleDecl(varDecl(hasInitializer(anything())))); in TEST()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2790 AST_MATCHER_P(DeclStmt, hasSingleDecl, internal::Matcher<Decl>, InnerMatcher) { in AST_MATCHER_P() argument
/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp381 hasBody(compoundStmt(has(declStmt(hasSingleDecl( in TEST_P()
404 hasAnySubstatement(declStmt(hasSingleDecl(varDecl( in TEST_P()
695 has(declStmt(hasSingleDecl(varDecl(hasName("d"))))))))); in TEST_P()
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h3907 AST_MATCHER_P(DeclStmt, hasSingleDecl, internal::Matcher<Decl>, InnerMatcher) { in AST_MATCHER_P() argument