Lines Matching defs:NNS
204 // NNS stores C++ nested name specifiers, which are prefixes to qualified names.
205 // Build declaration fragments for NNS recursively so that we have the USR for
209 DeclarationFragmentsBuilder::getFragmentsForNNS(const NestedNameSpecifier *NNS,
213 if (NNS->getPrefix())
214 Fragments.append(getFragmentsForNNS(NNS->getPrefix(), Context, After));
216 switch (NNS->getKind()) {
218 Fragments.append(NNS->getAsIdentifier()->getName(),
223 const NamespaceDecl *NS = NNS->getAsNamespace();
234 const NamespaceAliasDecl *Alias = NNS->getAsNamespaceAlias();
260 const Type *T = NNS->getAsType();
291 if (const NestedNameSpecifier *NNS = ET->getQualifier())
292 Fragments.append(getFragmentsForNNS(NNS, Context, After));