Searched refs:NNS (Results 26 - 37 of 37) sorted by relevance

12

/external/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp204 if (NestedNameSpecifier *NNS = DRE->getQualifier()) {
205 if (NNS->getKind() == NestedNameSpecifier::TypeSpec &&
206 isa<TemplateSpecializationType>(NNS->getAsType())) {
H A DSemaTemplateInstantiate.cpp2613 Sema::SubstNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS, argument
2615 if (!NNS)
2618 TemplateInstantiator Instantiator(*this, TemplateArgs, NNS.getBeginLoc(),
2620 return Instantiator.TransformNestedNameSpecifierLoc(NNS);
H A DSemaExprCXX.cpp51 NestedNameSpecifier *NNS = SS.getScopeRep(); local
55 switch (NNS->getKind()) {
58 Type = QualType(NNS->getAsType(), 0);
64 assert(NNS->getAsIdentifier() == &Name && "not a constructor name");
65 Type = Context.getDependentNameType(ETK_None, NNS->getPrefix(),
66 NNS->getAsIdentifier());
121 NestedNameSpecifier *NNS = SS.getScopeRep(); local
150 } else if (LookAtPrefix && (Prefix = NNS->getPrefix())) {
H A DSemaTemplateDeduction.cpp4733 NestedNameSpecifier *NNS,
4737 if (!NNS)
4740 MarkUsedTemplateParameters(Ctx, NNS->getPrefix(), OnlyDeduced, Depth,
4742 MarkUsedTemplateParameters(Ctx, QualType(NNS->getAsType(), 0),
4732 MarkUsedTemplateParameters(ASTContext &Ctx, NestedNameSpecifier *NNS, bool OnlyDeduced, unsigned Depth, llvm::SmallBitVector &Used) argument
H A DTreeTransform.h437 TransformNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
3016 NestedNameSpecifierLoc NNS,
3020 for (NestedNameSpecifierLoc Qualifier = NNS; Qualifier;
3104 if (SS.getScopeRep() == NNS.getNestedNameSpecifier() &&
3106 return NNS;
3110 if (SS.location_size() == NNS.getDataLength() &&
3111 memcmp(SS.location_data(), NNS.getOpaqueData(), SS.location_size()) == 0)
3112 return NestedNameSpecifierLoc(SS.getScopeRep(), NNS.getOpaqueData());
3015 TransformNestedNameSpecifierLoc( NestedNameSpecifierLoc NNS, QualType ObjectType, NamedDecl *FirstQualifierInScope) argument
H A DSemaDecl.cpp175 auto *NNS = NestedNameSpecifier::Create(Context, nullptr, false, local
177 QualType T = Context.getDependentNameType(ETK_Typename, NNS, &II);
180 SS.MakeTrivial(Context, NNS, SourceRange(NameLoc));
295 NestedNameSpecifier *NNS = Correction.getCorrectionSpecifier(); local
297 if (SS && NNS) {
298 NewSS.MakeTrivial(Context, NNS, SourceRange(NameLoc));
301 if (Correction && (NNS || NewII != &II) &&
316 if (SS && NNS)
317 SS->MakeTrivial(Context, NNS, SourceRange(NameLoc));
413 // Builds a fake NNS fo
439 NestedNameSpecifier *NNS = local
[all...]
H A DSemaCodeComplete.cpp3124 NestedNameSpecifier *NNS local
3127 if (NNS) {
3130 NNS->print(OS, Policy);
4042 NestedNameSpecifier *NNS = SS.getScopeRep(); local
4043 if (!Results.empty() && NNS->isDependent())
H A DSemaDeclCXX.cpp7493 NestedNameSpecifier *NNS, CXXRecordDecl *RequireMemberOf)
7495 IsInstantiation(IsInstantiation), OldNNS(NNS),
7492 UsingValidatorCCC(bool HasTypenameKeyword, bool IsInstantiation, NestedNameSpecifier *NNS, CXXRecordDecl *RequireMemberOf) argument
H A DSemaExpr.cpp1982 // Synthesize a fake NNS that points to the derived class. This will
1985 auto *NNS = local
1987 SS.MakeTrivial(Context, NNS, SourceRange(Loc, Loc));
/external/clang/tools/libclang/
H A DCIndex.cpp1219 bool CursorVisitor::VisitNestedNameSpecifier(NestedNameSpecifier *NNS, argument
1225 if (!NNS)
1229 while (NestedNameSpecifier *Prefix = NNS->getPrefix())
1230 NNS = Prefix;
1232 switch (NNS->getKind()) {
1234 return Visit(MakeCursorNamespaceRef(NNS->getAsNamespace(), Range.getBegin(),
1238 return Visit(MakeCursorNamespaceRef(NNS->getAsNamespaceAlias(),
1245 const Type *T = NNS->getAsType();
1273 NestedNameSpecifier *NNS = Q.getNestedNameSpecifier(); local
1274 switch (NNS
[all...]
/external/clang/lib/AST/
H A DASTDiagnostic.cpp335 NestedNameSpecifier *NNS = reinterpret_cast<NestedNameSpecifier*>(Val); local
336 NNS->print(OS, Context.getPrintingPolicy());
/external/clang/include/clang/Sema/
H A DSema.h4443 CXXRecordDecl *getCurrentInstantiationOf(NestedNameSpecifier *NNS);
4459 NamedDecl *FindFirstQualifierInScope(Scope *S, NestedNameSpecifier *NNS);
6686 SubstNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,

Completed in 624 milliseconds

12