/external/llvm-project/clang-tools-extra/clang-tidy/llvmlibc/ |
D | ImplementationInNamespaceCheck.cpp | 22 decl(hasParent(translationUnitDecl()), unless(linkageSpecDecl())) in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | InterfacesGlobalInitCheck.cpp | 22 hasDeclContext(anyOf(translationUnitDecl(), // Global scope. in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | GlobalNamesInHeadersCheck.cpp | 43 hasDeclContext(translationUnitDecl())) in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | ForwardDeclarationNamespaceCheck.cpp | 35 hasParent(decl(anyOf(namespaceDecl(), translationUnitDecl()))), in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-move/ |
D | Move.cpp | 510 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/ |
D | NoRecursionCheck.cpp | 199 Finder->addMatcher(translationUnitDecl().bind("TUDecl"), this); in registerMatchers()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 98 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/ |
D | FindAllSymbols.cpp | 129 hasDeclContext(anyOf(namespaceDecl(), translationUnitDecl())); in registerMatchers()
|
/external/llvm-project/clang/unittests/AST/ |
D | ASTImporterTest.cpp | 558 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 …]
|
D | ASTImporterFixtures.h | 298 translationUnitDecl( in testImport()
|
D | ASTTraverserTest.cpp | 1707 hasParent(translationUnitDecl())) in TEST()
|
/external/llvm-project/clang/unittests/ASTMatchers/ |
D | ASTMatchersNodeTest.cpp | 121 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()
|
D | ASTMatchersNarrowingTest.cpp | 1710 translationUnitDecl(has(cxxRecordDecl(hasName("mem"))), in TEST() 1715 translationUnitDecl(has(cxxRecordDecl(hasName("mem")).bind("templMem")), in TEST()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 399 REGISTER_MATCHER(translationUnitDecl); in RegistryMaps()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 527 REGISTER_MATCHER(translationUnitDecl); in RegistryMaps()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | SimplifyBooleanExprCheck.cpp | 532 Finder->addMatcher(translationUnitDecl().bind("top"), this); in registerMatchers()
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchersInternal.cpp | 720 translationUnitDecl; variable
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 159 translationUnitDecl; variable
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 180 translationUnitDecl;
|