| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvmlibc/ |
| H A D | ImplementationInNamespaceCheck.cpp | 22 decl(hasParent(translationUnitDecl()), unless(linkageSpecDecl())) in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/ |
| H A D | CTTestTidyModule.cpp | 29 Finder->addMatcher(translationUnitDecl().bind("tu"), this); in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | InterfacesGlobalInitCheck.cpp | 22 hasDeclContext(anyOf(translationUnitDecl(), // Global scope. in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | GlobalNamesInHeadersCheck.cpp | 43 hasDeclContext(translationUnitDecl())) in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | ForwardDeclarationNamespaceCheck.cpp | 35 hasParent(decl(anyOf(namespaceDecl(), translationUnitDecl()))), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-move/ |
| H A 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()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | DeprecatedHeadersCheck.cpp | 102 Finder->addMatcher(ast_matchers::translationUnitDecl().bind("TU"), this); in registerMatchers()
|
| H A D | MacroToEnumCheck.cpp | 530 auto TopLevelDecl = hasParent(translationUnitDecl()); in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | NoRecursionCheck.cpp | 199 Finder->addMatcher(translationUnitDecl().bind("TUDecl"), this); in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
| H A D | FindAllSymbols.cpp | 129 hasDeclContext(anyOf(namespaceDecl(), translationUnitDecl())); in registerMatchers()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 643 unless(hasAncestor(translationUnitDecl(has(varDecl( in TEST_P() 996 functionTemplateDecl(hasAncestor(translationUnitDecl( in TEST_P() 1001 classTemplateDecl(hasAncestor(translationUnitDecl( in TEST_P() 1432 Pattern = translationUnitDecl(has(classTemplateDecl( in TEST_P() 1588 auto Pattern = translationUnitDecl(has(classTemplateDecl( in TEST_P() 1632 auto Pattern = translationUnitDecl(has(classTemplateDecl( in TEST_P() 2436 ToTU, translationUnitDecl(hasDescendant( in TEST_P() 4342 auto Pattern = translationUnitDecl( in TEST_P() 4367 auto Pattern = translationUnitDecl(unless(has(Instantiation))); in TEST_P() 4391 auto Pattern = translationUnitDecl(has(Specialization)); in TEST_P() [all …]
|
| H A D | ASTImporterFixtures.h | 299 translationUnitDecl( in testImport()
|
| H A D | ASTTraverserTest.cpp | 1838 hasParent(translationUnitDecl())) in TEST()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A 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()
|
| H A D | ASTMatchersNarrowingTest.cpp | 2213 translationUnitDecl(has(cxxRecordDecl(hasName("mem"))), in TEST() 2218 translationUnitDecl(has(cxxRecordDecl(hasName("mem")).bind("templMem")), in TEST()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 569 REGISTER_MATCHER(translationUnitDecl); in RegistryMaps()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | SimplifyBooleanExprCheck.cpp | 681 Finder->addMatcher(translationUnitDecl(), this); in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 727 translationUnitDecl; variable
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 183 translationUnitDecl;
|