Searched refs:getAsNamespace (Results 1 – 15 of 15) sorted by relevance
157 NamespaceDecl *NestedNameSpecifier::getAsNamespace() const { in getAsNamespace() function in NestedNameSpecifier265 if (getAsNamespace()->isAnonymousNamespace()) in print()268 OS << getAsNamespace()->getName(); in print()
836 mangleSourceName(qualifier->getAsNamespace()->getIdentifier()); in mangleUnresolvedPrefix()1311 mangleName(qualifier->getAsNamespace()); in manglePrefix()
5543 cast<NamespaceDecl>(Import(FromNNS->getAsNamespace()))) { in Import()
4399 NNS->getAsNamespace()->getOriginalNamespace()); in getCanonicalNestedNameSpecifier()
136 handleReference(NNS.getNestedNameSpecifier()->getAsNamespace(), in indexNestedNameSpecifierLoc()
1281 return Visit(MakeCursorNamespaceRef(NNS->getAsNamespace(), Range.getBegin(), in VisitNestedNameSpecifier()1324 if (Visit(MakeCursorNamespaceRef(NNS->getAsNamespace(), in VisitNestedNameSpecifierLoc()
178 NamespaceDecl *getAsNamespace() const;
387 if (const NamespaceDecl* NS = NNSLoc.getNestedNameSpecifier()->getAsNamespace()) { in TraverseNestedNameSpecifierLoc()
4422 if (!Node.getAsNamespace()) in AST_MATCHER_P()4424 return InnerMatcher.matches(*Node.getAsNamespace(), Finder, Builder); in AST_MATCHER_P()
137 return NNS->getAsNamespace(); in computeDeclContext()
3745 if (NNS->getAsNamespace()->isAnonymousNamespace()) in getNestedNameSpecifierIdentifiers()3747 II = NNS->getAsNamespace()->getIdentifier(); in getNestedNameSpecifierIdentifiers()
3351 QNNS->getAsNamespace())); in TransformNestedNameSpecifierLoc()
5150 AddDeclRef(NNS->getAsNamespace(), Record); in AddNestedNameSpecifier()5200 AddDeclRef(NNS.getNestedNameSpecifier()->getAsNamespace(), Record); in AddNestedNameSpecifierLoc()
2480 if (auto *NS = X->getAsNamespace()) in getNamespace()
547 !SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclaration()