Searched refs:getAsNamespace (Results 1 – 16 of 16) sorted by relevance
157 NamespaceDecl *NestedNameSpecifier::getAsNamespace() const { in getAsNamespace() function in NestedNameSpecifier274 if (getAsNamespace()->isAnonymousNamespace()) in print()277 OS << getAsNamespace()->getName(); in print()
1099 mangleSourceNameWithAbiTags(qualifier->getAsNamespace()); in mangleUnresolvedPrefix()1621 mangleName(qualifier->getAsNamespace()); in manglePrefix()
6241 cast<NamespaceDecl>(Import(FromNNS->getAsNamespace()))) { in Import()
4453 NNS->getAsNamespace()->getOriginalNamespace()); in getCanonicalNestedNameSpecifier()
172 handleReference(NNS.getNestedNameSpecifier()->getAsNamespace(), in indexNestedNameSpecifierLoc()
178 NamespaceDecl *getAsNamespace() const;
236 Ctx, Scope->getAsNamespace(), WithGlobalNsPrefix); in getFullyQualifiedNestedNameSpecifier()
5064 if (!Node.getAsNamespace()) in AST_MATCHER_P()5066 return InnerMatcher.matches(*Node.getAsNamespace(), Finder, Builder); in AST_MATCHER_P()
147 return NNS->getAsNamespace(); in computeDeclContext()
3831 if (NNS->getAsNamespace()->isAnonymousNamespace()) in getNestedNameSpecifierIdentifiers()3833 II = NNS->getAsNamespace()->getIdentifier(); in getNestedNameSpecifierIdentifiers()
3457 QNNS->getAsNamespace())); in TransformNestedNameSpecifierLoc()
421 if (const NamespaceDecl* NS = NNSLoc.getNestedNameSpecifier()->getAsNamespace()) { in TraverseNestedNameSpecifierLoc()
5188 AddDeclRef(NNS->getAsNamespace()); in AddNestedNameSpecifier()5237 AddDeclRef(NNS.getNestedNameSpecifier()->getAsNamespace()); in AddNestedNameSpecifierLoc()
2572 if (auto *NS = X->getAsNamespace()) in getNamespace()
547 !SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclaration()
1291 return Visit(MakeCursorNamespaceRef(NNS->getAsNamespace(), Range.getBegin(), in VisitNestedNameSpecifier()1334 if (Visit(MakeCursorNamespaceRef(NNS->getAsNamespace(), in VisitNestedNameSpecifierLoc()