Home
last modified time | relevance | path

Searched refs:getCXXScopeSpec (Results 1 – 14 of 14) sorted by relevance

/external/clang/lib/Parse/
DParseDecl.cpp2044 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2070 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2095 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2108 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2119 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2135 if (D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2142 if (D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
5012 D.getCXXScopeSpec() = SS; in ParseDeclaratorInternal()
5208 DeclaratorScopeObj DeclScopeObj(*this, D.getCXXScopeSpec()); in ParseDirectDeclarator()
5220 if (D.getCXXScopeSpec().isEmpty()) { in ParseDirectDeclarator()
[all …]
/external/llvm-project/clang/lib/Parse/
DParseDecl.cpp2175 if (D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2186 if (D.getCXXScopeSpec().isSet()) in ParseDeclarationAfterDeclaratorAndAttributes()
5670 D.getCXXScopeSpec() = SS; in ParseDeclaratorInternal()
5871 DeclaratorScopeObj DeclScopeObj(*this, D.getCXXScopeSpec()); in ParseDirectDeclarator()
5876 D.getCXXScopeSpec().isEmpty()) in ParseDirectDeclarator()
5888 if (D.getCXXScopeSpec().isEmpty()) { in ParseDirectDeclarator()
5892 D.getCXXScopeSpec(), /*ObjectType=*/nullptr, in ParseDirectDeclarator()
5896 if (D.getCXXScopeSpec().isValid()) { in ParseDirectDeclarator()
5898 D.getCXXScopeSpec())) in ParseDirectDeclarator()
5919 if (Tok.is(tok::ellipsis) && D.getCXXScopeSpec().isEmpty() && in ParseDirectDeclarator()
[all …]
/external/clang/lib/Sema/
DSemaDecl.cpp4940 if (D.getCXXScopeSpec().isInvalid()) in HandleDeclarator()
4942 else if (D.getCXXScopeSpec().isSet()) { in HandleDeclarator()
4943 if (DiagnoseUnexpandedParameterPack(D.getCXXScopeSpec(), in HandleDeclarator()
4948 DC = computeDeclContext(D.getCXXScopeSpec(), EnteringContext); in HandleDeclarator()
4956 << D.getCXXScopeSpec().getScopeRep() in HandleDeclarator()
4957 << D.getCXXScopeSpec().getRange(); in HandleDeclarator()
4963 RequireCompleteDeclContext(D.getCXXScopeSpec(), DC)) in HandleDeclarator()
4970 << Name << DC << D.getCXXScopeSpec().getRange(); in HandleDeclarator()
4974 if (diagnoseQualifiedDeclaration(D.getCXXScopeSpec(), DC, in HandleDeclarator()
5011 if (!D.getCXXScopeSpec().isSet()) { in HandleDeclarator()
[all …]
DSemaTemplate.cpp7804 LookupParsedName(Previous, S, &D.getCXXScopeSpec()); in ActOnExplicitInstantiation()
7899 if (!ScopeSpecifierHasTemplateId(D.getCXXScopeSpec()) && !PrevTemplate) in ActOnExplicitInstantiation()
7902 << Prev << D.getCXXScopeSpec().getRange(); in ActOnExplicitInstantiation()
8083 D.getCXXScopeSpec().isSet() && in ActOnExplicitInstantiation()
8084 !ScopeSpecifierHasTemplateId(D.getCXXScopeSpec())) in ActOnExplicitInstantiation()
8087 << Specialization << D.getCXXScopeSpec().getRange(); in ActOnExplicitInstantiation()
8103 D.getCXXScopeSpec().isSet()); in ActOnExplicitInstantiation()
DSemaDeclObjC.cpp4641 if (D.getCXXScopeSpec().isSet()) { in ActOnObjCExceptionDecl()
4643 << D.getCXXScopeSpec().getRange(); in ActOnObjCExceptionDecl()
DSemaDeclCXX.cpp2136 CXXScopeSpec &SS = D.getCXXScopeSpec(); in ActOnCXXMemberDeclarator()
12342 if (D.getCXXScopeSpec().isSet() && !Invalid) { in ActOnExceptionDeclarator()
12344 << D.getCXXScopeSpec().getRange(); in ActOnExceptionDeclarator()
12739 CXXScopeSpec &SS = D.getCXXScopeSpec(); in ActOnFriendFunctionDecl()
DSemaType.cpp4407 if (!D.getCXXScopeSpec().isSet()) { in GetFullTypeForDeclarator()
4412 DeclContext *DC = S.computeDeclContext(D.getCXXScopeSpec()); in GetFullTypeForDeclarator()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp5705 if (D.getCXXScopeSpec().isInvalid()) in HandleDeclarator()
5707 else if (D.getCXXScopeSpec().isSet()) { in HandleDeclarator()
5708 if (DiagnoseUnexpandedParameterPack(D.getCXXScopeSpec(), in HandleDeclarator()
5713 DC = computeDeclContext(D.getCXXScopeSpec(), EnteringContext); in HandleDeclarator()
5721 << D.getCXXScopeSpec().getScopeRep() in HandleDeclarator()
5722 << D.getCXXScopeSpec().getRange(); in HandleDeclarator()
5728 RequireCompleteDeclContext(D.getCXXScopeSpec(), DC)) in HandleDeclarator()
5735 << Name << DC << D.getCXXScopeSpec().getRange(); in HandleDeclarator()
5740 D.getCXXScopeSpec(), DC, Name, D.getIdentifierLoc(), in HandleDeclarator()
5770 if (!D.getCXXScopeSpec().isSet()) { in HandleDeclarator()
[all …]
DSemaTemplate.cpp10015 LookupParsedName(Previous, S, &D.getCXXScopeSpec()); in ActOnExplicitInstantiation()
10109 if (!ScopeSpecifierHasTemplateId(D.getCXXScopeSpec()) && !PrevTemplate) in ActOnExplicitInstantiation()
10112 << Prev << D.getCXXScopeSpec().getRange(); in ActOnExplicitInstantiation()
10330 D.getCXXScopeSpec().isSet() && in ActOnExplicitInstantiation()
10331 !ScopeSpecifierHasTemplateId(D.getCXXScopeSpec())) in ActOnExplicitInstantiation()
10334 << Specialization << D.getCXXScopeSpec().getRange(); in ActOnExplicitInstantiation()
10340 D.getIdentifierLoc(), D.getCXXScopeSpec().isSet(), TSK); in ActOnExplicitInstantiation()
DSemaType.cpp3759 if (StartsWithDeclaratorId && D.getCXXScopeSpec().isValid()) { in warnAboutRedundantParens()
3760 for (NestedNameSpecifier *NNS = D.getCXXScopeSpec().getScopeRep(); NNS; in warnAboutRedundantParens()
5303 return (!state.getDeclarator().getCXXScopeSpec().isEmpty() && in GetFullTypeForDeclarator()
5305 .getCXXScopeSpec() in GetFullTypeForDeclarator()
5478 else if (!D.getCXXScopeSpec().isSet()) { in GetFullTypeForDeclarator()
5484 DeclContext *DC = S.computeDeclContext(D.getCXXScopeSpec()); in GetFullTypeForDeclarator()
DSemaDeclObjC.cpp5199 if (D.getCXXScopeSpec().isSet()) { in ActOnObjCExceptionDecl()
5201 << D.getCXXScopeSpec().getRange(); in ActOnObjCExceptionDecl()
DSemaDeclCXX.cpp3337 CXXScopeSpec &SS = D.getCXXScopeSpec(); in ActOnCXXMemberDeclarator()
15997 if (D.getCXXScopeSpec().isSet() && !Invalid) { in ActOnExceptionDeclarator()
15999 << D.getCXXScopeSpec().getRange(); in ActOnExceptionDeclarator()
16452 CXXScopeSpec &SS = D.getCXXScopeSpec(); in ActOnFriendFunctionDecl()
17828 Declarator.getCXXScopeSpec(), /*TemplateId=*/nullptr, in ActOnStartFunctionDeclarationDeclarator()
DSemaOpenMP.cpp5905 LookupParsedName(Lookup, S, &D.getCXXScopeSpec()); in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
/external/llvm-project/clang/include/clang/Sema/
DDeclSpec.h1922 const CXXScopeSpec &getCXXScopeSpec() const { return SS; } in getCXXScopeSpec() function
1923 CXXScopeSpec &getCXXScopeSpec() { return SS; } in getCXXScopeSpec() function