Lines Matching defs:SS

854     CXXScopeSpec SS;
859 ExprResult TrapFn = ActOnIdExpression(TUScope, SS, TemplateKWLoc,
1602 const CXXScopeSpec *SS) {
1604 return BuildDeclRefExpr(D, Ty, VK, NameInfo, SS);
1612 const CXXScopeSpec *SS, NamedDecl *FoundD,
1641 SS ? SS->getWithLocInContext(Context) : NestedNameSpecifierLoc(),
1649 SS ? SS->getWithLocInContext(Context) : NestedNameSpecifierLoc(),
1707 bool Sema::DiagnoseEmptyLookup(Scope *S, CXXScopeSpec &SS, LookupResult &R,
1726 DeclContext *DC = (SS.isEmpty() && !CallsUndergoingInstantiation.empty())
1779 CXXScopeSpec SS;
1780 SS.Adopt(ULE->getQualifierLoc());
1784 SS.getWithLocInContext(Context),
1828 S, &SS, CCC))) {
1887 if (SS.isEmpty())
1892 << Name << computeDeclContext(SS, false)
1893 << DroppedSpecifier << SS.getRange(),
1904 if (!SS.isEmpty()) {
1906 << Name << computeDeclContext(SS, false)
1907 << SS.getRange();
1917 CXXScopeSpec &SS,
1926 if (SS.isInvalid())
1955 } else if (SS.isSet()) {
1956 if (DeclContext *DC = computeDeclContext(SS, false)) {
1957 if (RequireCompleteDeclContext(SS, DC))
1965 return ActOnDependentIdExpression(SS, TemplateKWLoc, NameInfo,
1979 LookupTemplateName(R, S, SS, QualType(), /*EnteringContext=*/false,
1984 return ActOnDependentIdExpression(SS, TemplateKWLoc, NameInfo,
1987 bool IvarLookupFollowUp = II && !SS.isSet() && getCurMethodDecl();
1988 LookupParsedName(R, S, &SS, !IvarLookupFollowUp);
1993 return ActOnDependentIdExpression(SS, TemplateKWLoc, NameInfo,
2013 bool ADL = UseArgumentDependentLookup(SS, R, HasTrailingLParen);
2039 assert(SS.isEmpty() && "qualifiers should be already handled");
2046 /*Op=*/SourceLocation(), SS.getWithLocInContext(Context),
2056 if (DiagnoseEmptyLookup(S, SS, R, CCC ? *CCC : DefaultValidator))
2108 else if (!SS.isEmpty())
2120 return BuildPossibleImplicitMemberExpr(SS, TemplateKWLoc,
2135 return BuildTemplateIdExpr(SS, TemplateKWLoc, R, ADL, TemplateArgs);
2138 return BuildDeclarationNameExpr(SS, R, ADL);
2146 Sema::BuildQualifiedDeclarationNameExpr(CXXScopeSpec &SS,
2149 DeclContext *DC = computeDeclContext(SS, false);
2151 return BuildDependentDeclRefExpr(SS, /*TemplateKWLoc=*/SourceLocation(),
2154 if (RequireCompleteDeclContext(SS, DC))
2164 return BuildDependentDeclRefExpr(SS, /*TemplateKWLoc=*/SourceLocation(),
2169 << NameInfo.getName() << DC << SS.getRange();
2178 return BuildPossibleImplicitMemberExpr(SS,
2182 return BuildDeclarationNameExpr(SS, R, /* ADL */ false);
2499 bool Sema::UseArgumentDependentLookup(const CXXScopeSpec &SS,
2507 if (SS.isSet())
2579 Sema::BuildDeclarationNameExpr(const CXXScopeSpec &SS,
2585 return BuildDeclarationNameExpr(SS, R.getLookupNameInfo(), R.getFoundDecl(),
2602 SS.getWithLocInContext(Context),
2612 const CXXScopeSpec &SS, const DeclarationNameInfo &NameInfo, NamedDecl *D,
2626 << Template << SS.getRange();
2635 << D << SS.getRange();
2656 return BuildAnonymousStructUnionMemberReference(SS, NameInfo.getLoc(),
2815 return BuildDeclRefExpr(VD, type, valueKind, NameInfo, &SS, FoundD,