Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DNestedNameSpecifier.cpp163 NamespaceDecl *NestedNameSpecifier::getAsNamespace() const { in getAsNamespace() function in NestedNameSpecifier
309 if (getAsNamespace()->isAnonymousNamespace()) in print()
312 OS << getAsNamespace()->getName(); in print()
H A DQualTypeNames.cpp221 Ctx, Scope->getAsNamespace(), WithGlobalNsPrefix); in getFullyQualifiedNestedNameSpecifier()
H A DASTStructuralEquivalence.cpp601 return IsStructurallyEquivalent(Context, NNS1->getAsNamespace(), in IsStructurallyEquivalent()
602 NNS2->getAsNamespace()); in IsStructurallyEquivalent()
H A DODRHash.cpp128 AddDecl(NNS->getAsNamespace()); in AddNestedNameSpecifier()
H A DItaniumMangle.cpp1385 mangleSourceNameWithAbiTags(qualifier->getAsNamespace()); in mangleUnresolvedPrefix()
2188 mangleName(qualifier->getAsNamespace()); in manglePrefix()
H A DTextNodeDumper.cpp1051 dumpBareDeclRef(NNS->getAsNamespace()); in dumpNestedNameSpecifier()
H A DASTContext.cpp7394 if (auto *NS = X->getAsNamespace()) in getNamespace()
7845 NNS->getAsNamespace()->getFirstDecl()); in getCanonicalNestedNameSpecifier()
13737 NamespaceDecl *N1 = A1 ? A1->getNamespace() : NNS1->getAsNamespace(), in getCommonNNS()
13738 *N2 = A2 ? A2->getNamespace() : NNS2->getAsNamespace(); in getCommonNNS()
H A DASTImporter.cpp10064 if (ExpectedDecl NSOrErr = Import(FromNNS->getAsNamespace())) { in Import()
10138 Builder.Extend(getToContext(), Spec->getAsNamespace(), ToLocalBeginLoc, in Import()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h118 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); in TraverseNestedNameSpecifierLoc()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicWriter.h254 asImpl().writeNamespaceDeclRef(NNS->getAsNamespace()); in writeNestedNameSpecifier()
H A DNestedNameSpecifier.h179 NamespaceDecl *getAsNamespace() const;
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp271 handleReference(NNS.getNestedNameSpecifier()->getAsNamespace(), in indexNestedNameSpecifierLoc()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp140 return NNS->getAsNamespace(); in computeDeclContext()
H A DSemaLookup.cpp4563 if (NNS->getAsNamespace()->isAnonymousNamespace()) in getNestedNameSpecifierIdentifiers()
4565 II = NNS->getAsNamespace()->getIdentifier(); in getNestedNameSpecifierIdentifiers()
H A DTreeTransform.h4626 Q.getLocalBeginLoc(), QNNS->getAsNamespace())); in TransformNestedNameSpecifierLoc()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7896 if (!Node.getAsNamespace()) in AST_MATCHER_P()
7898 return InnerMatcher.matches(*Node.getAsNamespace(), Finder, Builder); in AST_MATCHER_P()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp223 const NamespaceDecl *NS = NNS->getAsNamespace(); in getFragmentsForNNS()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp594 !D.SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclarator()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp7072 AddDeclRef(NNS.getNestedNameSpecifier()->getAsNamespace()); in AddNestedNameSpecifierLoc()