Searched refs:getAsNamespace (Results 1 – 14 of 14) sorted by relevance
157 NamespaceDecl *NestedNameSpecifier::getAsNamespace() const { in getAsNamespace() function in NestedNameSpecifier265 if (getAsNamespace()->isAnonymousNamespace()) in print()268 OS << getAsNamespace()->getName(); in print()
839 mangleSourceName(qualifier->getAsNamespace()->getIdentifier()); in mangleUnresolvedPrefix()1313 mangleName(qualifier->getAsNamespace()); in manglePrefix()
4805 cast<NamespaceDecl>(Import(FromNNS->getAsNamespace()))) { in Import()
4239 NNS->getAsNamespace()->getOriginalNamespace()); in getCanonicalNestedNameSpecifier()
136 handleReference(NNS.getNestedNameSpecifier()->getAsNamespace(), in indexNestedNameSpecifierLoc()
1237 return Visit(MakeCursorNamespaceRef(NNS->getAsNamespace(), Range.getBegin(), in VisitNestedNameSpecifier()1280 if (Visit(MakeCursorNamespaceRef(NNS->getAsNamespace(), in VisitNestedNameSpecifierLoc()
178 NamespaceDecl *getAsNamespace() const;
3928 if (!Node.getAsNamespace()) in AST_MATCHER_P()3930 return InnerMatcher.matches(*Node.getAsNamespace(), Finder, Builder); in AST_MATCHER_P()
137 return NNS->getAsNamespace(); in computeDeclContext()
3424 if (NNS->getAsNamespace()->isAnonymousNamespace()) in getNestedNameSpecifierIdentifiers()3426 II = NNS->getAsNamespace()->getIdentifier(); in getNestedNameSpecifierIdentifiers()
3163 QNNS->getAsNamespace())); in TransformNestedNameSpecifierLoc()
541 !SS.getScopeRep()->getAsNamespace() && in ParseUsingDeclaration()
5313 AddDeclRef(NNS->getAsNamespace(), Record); in AddNestedNameSpecifier()5363 AddDeclRef(NNS.getNestedNameSpecifier()->getAsNamespace(), Record); in AddNestedNameSpecifierLoc()
2402 if (auto *NS = X->getAsNamespace()) in getNamespace()