Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp222 Ctx, Scope->getAsNamespace(), WithGlobalNsPrefix); in getFullyQualifiedNestedNameSpecifier()
H A DASTStructuralEquivalence.cpp471 return IsStructurallyEquivalent(Context, NNS1->getAsNamespace(), in IsStructurallyEquivalent()
472 NNS2->getAsNamespace()); in IsStructurallyEquivalent()
H A DODRHash.cpp126 AddDecl(NNS->getAsNamespace()); in AddNestedNameSpecifier()
H A DItaniumMangle.cpp1308 mangleSourceNameWithAbiTags(qualifier->getAsNamespace()); in mangleUnresolvedPrefix()
2036 mangleName(qualifier->getAsNamespace()); in manglePrefix()
H A DASTImporter.cpp9251 if (ExpectedDecl NSOrErr = Import(FromNNS->getAsNamespace())) { in Import()
9329 Builder.Extend(getToContext(), Spec->getAsNamespace(), ToLocalBeginLoc, in Import()
H A DASTContext.cpp6403 if (auto *NS = X->getAsNamespace()) in getNamespace()
6795 NNS->getAsNamespace()->getOriginalNamespace()); in getCanonicalNestedNameSpecifier()
/openbsd-src/gnu/llvm/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h118 const NamespaceDecl *ND = NNS.getNestedNameSpecifier()->getAsNamespace(); in TraverseNestedNameSpecifierLoc()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DAbstractBasicWriter.h247 asImpl().writeNamespaceDeclRef(NNS->getAsNamespace()); in writeNestedNameSpecifier()
H A DNestedNameSpecifier.h185 NamespaceDecl *getAsNamespace() const;
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp289 handleReference(NNS.getNestedNameSpecifier()->getAsNamespace(), in indexNestedNameSpecifierLoc()
/openbsd-src/gnu/llvm/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp106 const NamespaceDecl *NS = NNS->getAsNamespace(); in getFragmentsForNNS()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp145 return NNS->getAsNamespace(); in computeDeclContext()
H A DSemaLookup.cpp4519 if (NNS->getAsNamespace()->isAnonymousNamespace()) in getNestedNameSpecifierIdentifiers()
4521 II = NNS->getAsNamespace()->getIdentifier(); in getNestedNameSpecifierIdentifiers()
H A DTreeTransform.h4245 Q.getLocalBeginLoc(), QNNS->getAsNamespace())); in TransformNestedNameSpecifierLoc()
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h7519 if (!Node.getAsNamespace()) in AST_MATCHER_P()
7521 return InnerMatcher.matches(*Node.getAsNamespace(), Finder, Builder); in AST_MATCHER_P()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseDeclCXX.cpp646 !D.SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclarator()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp1429 MakeCursorNamespaceRef(NNS->getAsNamespace(), Range.getBegin(), TU)); in VisitNestedNameSpecifier()
1471 if (Visit(MakeCursorNamespaceRef(NNS->getAsNamespace(), in VisitNestedNameSpecifierLoc()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTWriter.cpp5756 AddDeclRef(NNS.getNestedNameSpecifier()->getAsNamespace()); in AddNestedNameSpecifierLoc()