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.cpp169 NamespaceDecl *NestedNameSpecifier::getAsNamespace() const { in getAsNamespace() function in NestedNameSpecifier
263 if (getAsNamespace()->isAnonymousNamespace()) in print()
266 OS << getAsNamespace()->getName(); in print()
H A DQualTypeNames.cpp223 Ctx, Scope->getAsNamespace(), WithGlobalNsPrefix); in getFullyQualifiedNestedNameSpecifier()
H A DASTStructuralEquivalence.cpp562 return IsStructurallyEquivalent(Context, NNS1->getAsNamespace(), in IsStructurallyEquivalent()
563 NNS2->getAsNamespace()); in IsStructurallyEquivalent()
H A DODRHash.cpp126 AddDecl(NNS->getAsNamespace()); in AddNestedNameSpecifier()
H A DTextNodeDumper.cpp916 dumpBareDeclRef(NNS->getAsNamespace()); in dumpNestedNameSpecifier()
H A DItaniumMangle.cpp1367 mangleSourceNameWithAbiTags(qualifier->getAsNamespace()); in mangleUnresolvedPrefix()
2156 mangleName(qualifier->getAsNamespace()); in manglePrefix()
H A DASTImporter.cpp9685 if (ExpectedDecl NSOrErr = Import(FromNNS->getAsNamespace())) { in Import()
9763 Builder.Extend(getToContext(), Spec->getAsNamespace(), ToLocalBeginLoc, in Import()
H A DASTContext.cpp6867 if (auto *NS = X->getAsNamespace()) in getNamespace()
7251 NNS->getAsNamespace()->getFirstDecl()); in getCanonicalNestedNameSpecifier()
/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.h255 asImpl().writeNamespaceDeclRef(NNS->getAsNamespace()); in writeNestedNameSpecifier()
H A DNestedNameSpecifier.h185 NamespaceDecl *getAsNamespace() const;
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp289 handleReference(NNS.getNestedNameSpecifier()->getAsNamespace(), in indexNestedNameSpecifierLoc()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp144 return NNS->getAsNamespace(); in computeDeclContext()
H A DSemaLookup.cpp4468 if (NNS->getAsNamespace()->isAnonymousNamespace()) in getNestedNameSpecifierIdentifiers()
4470 II = NNS->getAsNamespace()->getIdentifier(); in getNestedNameSpecifierIdentifiers()
H A DTreeTransform.h4416 Q.getLocalBeginLoc(), QNNS->getAsNamespace())); in TransformNestedNameSpecifierLoc()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7825 if (!Node.getAsNamespace()) in AST_MATCHER_P()
7827 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.cpp659 !D.SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclarator()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp6419 AddDeclRef(NNS.getNestedNameSpecifier()->getAsNamespace()); in AddNestedNameSpecifierLoc()