| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | AddUsing.cpp | 157 if (const auto *Namespace = U->getQualifier()->getAsNamespace()) { in findInsertionPoint() 160 ->getAsNamespace() in findInsertionPoint() 216 std::string NamespaceStr = printNamespaceScope(*Namespace.getAsNamespace()); in isNamespaceForbidden() 317 !QualifierToRemove.getNestedNameSpecifier()->getAsNamespace() || in prepare()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
| H A D | NestedNameSpecifiers.cpp | 30 NNS.getNestedNameSpecifier()->getAsNamespace()) in TraverseNestedNameSpecifierLoc()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | MoveForwardingReferenceCheck.cpp | 53 } else if (const NamespaceDecl *Namespace = NNS->getAsNamespace()) { in replaceMoveWithForward()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | NestedNameSpecifier.cpp | 169 NamespaceDecl *NestedNameSpecifier::getAsNamespace() const { in getAsNamespace() function in NestedNameSpecifier 263 if (getAsNamespace()->isAnonymousNamespace()) in print() 266 OS << getAsNamespace()->getName(); in print()
|
| H A D | QualTypeNames.cpp | 224 Ctx, Scope->getAsNamespace(), WithGlobalNsPrefix); in getFullyQualifiedNestedNameSpecifier()
|
| H A D | ASTStructuralEquivalence.cpp | 439 return IsStructurallyEquivalent(Context, NNS1->getAsNamespace(), in IsStructurallyEquivalent() 440 NNS2->getAsNamespace()); in IsStructurallyEquivalent()
|
| H A D | ODRHash.cpp | 123 AddDecl(NNS->getAsNamespace()); in AddNestedNameSpecifier()
|
| H A D | ItaniumMangle.cpp | 1312 mangleSourceNameWithAbiTags(qualifier->getAsNamespace()); in mangleUnresolvedPrefix() 2039 mangleName(qualifier->getAsNamespace()); in manglePrefix()
|
| H A D | ASTImporter.cpp | 9099 if (ExpectedDecl NSOrErr = Import(FromNNS->getAsNamespace())) { in Import() 9177 Builder.Extend(getToContext(), Spec->getAsNamespace(), ToLocalBeginLoc, in Import()
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Refactoring/ |
| H A D | RecursiveSymbolVisitor.h | 118 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); in TraverseNestedNameSpecifierLoc()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | AbstractBasicWriter.h | 250 asImpl().writeNamespaceDeclRef(NNS->getAsNamespace()); in writeNestedNameSpecifier()
|
| H A D | NestedNameSpecifier.h | 185 NamespaceDecl *getAsNamespace() const;
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 289 handleReference(NNS.getNestedNameSpecifier()->getAsNamespace(), in indexNestedNameSpecifierLoc()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | DumpAST.cpp | 277 return NNS.getAsNamespace()->getNameAsString() + "::"; in getDetail()
|
| H A D | IncludeFixer.cpp | 399 } else if (const auto *NS = Nested->getAsNamespace()) { in extractUnresolvedNameCheaply()
|
| H A D | AST.cpp | 648 const auto *CanonNSD = NNS->getAsNamespace()->getCanonicalDecl(); in getQualification()
|
| H A D | FindTarget.cpp | 473 add(NNS->getAsNamespace(), Flags); in add()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | RenamerClangTidyCheck.cpp | 345 if (const NamespaceDecl *Decl = Spec->getAsNamespace()) { in check()
|
| /llvm-project-15.0.7/clang/lib/ExtractAPI/ |
| H A D | DeclarationFragments.cpp | 106 const NamespaceDecl *NS = NNS->getAsNamespace(); in getFragmentsForNNS()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCXXScopeSpec.cpp | 145 return NNS->getAsNamespace(); in computeDeclContext()
|
| H A D | SemaLookup.cpp | 4507 if (NNS->getAsNamespace()->isAnonymousNamespace()) in getNestedNameSpecifierIdentifiers() 4509 II = NNS->getAsNamespace()->getIdentifier(); in getNestedNameSpecifierIdentifiers()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 7522 if (!Node.getAsNamespace()) in AST_MATCHER_P() 7524 return InnerMatcher.matches(*Node.getAsNamespace(), Finder, Builder); in AST_MATCHER_P()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | RefactoringTest.cpp | 753 if (const NamespaceDecl* NS = NNSLoc.getNestedNameSpecifier()->getAsNamespace()) { in TraverseNestedNameSpecifierLoc()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 637 !D.SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclarator()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndex.cpp | 1429 MakeCursorNamespaceRef(NNS->getAsNamespace(), Range.getBegin(), TU)); in VisitNestedNameSpecifier() 1471 if (Visit(MakeCursorNamespaceRef(NNS->getAsNamespace(), in VisitNestedNameSpecifierLoc()
|