Home
last modified time | relevance | path

Searched refs:translationUnitDecl (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/llvmlibc/
DImplementationInNamespaceCheck.cpp22 decl(hasParent(translationUnitDecl()), unless(linkageSpecDecl())) in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DInterfacesGlobalInitCheck.cpp22 hasDeclContext(anyOf(translationUnitDecl(), // Global scope. in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DGlobalNamesInHeadersCheck.cpp43 hasDeclContext(translationUnitDecl())) in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DForwardDeclarationNamespaceCheck.cpp35 hasParent(decl(anyOf(namespaceDecl(), translationUnitDecl()))), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-move/
DMove.cpp510 hasDeclContext(anyOf(namespaceDecl(), translationUnitDecl())); in registerMatchers()
525 hasParent(decl(anyOf(namespaceDecl(), translationUnitDecl()))), in registerMatchers()
526 hasDeclContext(decl(anyOf(namespaceDecl(), translationUnitDecl())))); in registerMatchers()
541 hasParent(decl(anyOf(namespaceDecl(), translationUnitDecl()))), InOldCC); in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DNoRecursionCheck.cpp199 Finder->addMatcher(translationUnitDecl().bind("TUDecl"), this); in registerMatchers()
/external/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp98 TEST(DeclarationMatcher, translationUnitDecl) { in TEST() argument
104 Code, varDecl(hasName("MyVar1"), hasDeclContext(translationUnitDecl())))); in TEST()
106 Code, varDecl(hasName("MyVar2"), hasDeclContext(translationUnitDecl())))); in TEST()
110 hasDeclContext(decl(hasDeclContext(translationUnitDecl())))))); in TEST()
/external/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/
DFindAllSymbols.cpp129 hasDeclContext(anyOf(namespaceDecl(), translationUnitDecl())); in registerMatchers()
/external/llvm-project/clang/unittests/AST/
DASTImporterTest.cpp558 translationUnitDecl(has(typeAliasDecl()))))))); in TEST_P()
573 unless(hasAncestor(translationUnitDecl(has(varDecl( in TEST_P()
840 functionTemplateDecl(hasAncestor(translationUnitDecl( in TEST_P()
845 classTemplateDecl(hasAncestor(translationUnitDecl( in TEST_P()
1213 translationUnitDecl(unless(has(classTemplateSpecializationDecl()))); in TEST_P()
1221 Pattern = translationUnitDecl(has(classTemplateDecl( in TEST_P()
1377 auto Pattern = translationUnitDecl(has(classTemplateDecl( in TEST_P()
1421 auto Pattern = translationUnitDecl(has(classTemplateDecl( in TEST_P()
2225 ToTU, translationUnitDecl(hasDescendant( in TEST_P()
3990 auto Pattern = translationUnitDecl( in TEST_P()
[all …]
DASTImporterFixtures.h298 translationUnitDecl( in testImport()
DASTTraverserTest.cpp1707 hasParent(translationUnitDecl())) in TEST()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp121 Code, varDecl(hasName("MyVar1"), hasDeclContext(translationUnitDecl())))); in TEST_P()
123 Code, varDecl(hasName("MyVar2"), hasDeclContext(translationUnitDecl())))); in TEST_P()
127 hasDeclContext(decl(hasDeclContext(translationUnitDecl())))))); in TEST_P()
DASTMatchersNarrowingTest.cpp1710 translationUnitDecl(has(cxxRecordDecl(hasName("mem"))), in TEST()
1715 translationUnitDecl(has(cxxRecordDecl(hasName("mem")).bind("templMem")), in TEST()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp399 REGISTER_MATCHER(translationUnitDecl); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp527 REGISTER_MATCHER(translationUnitDecl); in RegistryMaps()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DSimplifyBooleanExprCheck.cpp532 Finder->addMatcher(translationUnitDecl().bind("top"), this); in registerMatchers()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp720 translationUnitDecl; variable
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h159 translationUnitDecl; variable
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h180 translationUnitDecl;