/external/clang/lib/Sema/ |
H A D | AnalysisBasedWarnings.cpp | 204 if (NestedNameSpecifier *NNS = DRE->getQualifier()) { 205 if (NNS->getKind() == NestedNameSpecifier::TypeSpec && 206 isa<TemplateSpecializationType>(NNS->getAsType())) {
|
H A D | SemaTemplateInstantiate.cpp | 2613 Sema::SubstNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS, argument 2615 if (!NNS) 2618 TemplateInstantiator Instantiator(*this, TemplateArgs, NNS.getBeginLoc(), 2620 return Instantiator.TransformNestedNameSpecifierLoc(NNS);
|
H A D | SemaExprCXX.cpp | 51 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 D | SemaTemplateDeduction.cpp | 4733 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 D | TreeTransform.h | 437 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 D | SemaDecl.cpp | 175 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 D | SemaCodeComplete.cpp | 3124 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 D | SemaDeclCXX.cpp | 7493 NestedNameSpecifier *NNS, CXXRecordDecl *RequireMemberOf) 7495 IsInstantiation(IsInstantiation), OldNNS(NNS), 7492 UsingValidatorCCC(bool HasTypenameKeyword, bool IsInstantiation, NestedNameSpecifier *NNS, CXXRecordDecl *RequireMemberOf) argument
|
H A D | SemaExpr.cpp | 1982 // 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 D | CIndex.cpp | 1219 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 D | ASTDiagnostic.cpp | 335 NestedNameSpecifier *NNS = reinterpret_cast<NestedNameSpecifier*>(Val); local 336 NNS->print(OS, Context.getPrintingPolicy());
|
/external/clang/include/clang/Sema/ |
H A D | Sema.h | 4443 CXXRecordDecl *getCurrentInstantiationOf(NestedNameSpecifier *NNS); 4459 NamedDecl *FindFirstQualifierInScope(Scope *S, NestedNameSpecifier *NNS); 6686 SubstNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS,
|