Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Parse/
H A DParseDecl.cpp2318 if (D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2329 if (D.getCXXScopeSpec().isSet()) in ParseDeclarationAfterDeclaratorAndAttributes()
5911 D.getCXXScopeSpec() = SS; in ParseDeclaratorInternal()
6121 D.getCXXScopeSpec().isEmpty()) in ParseDirectDeclarator()
6133 if (D.getCXXScopeSpec().isEmpty()) { in ParseDirectDeclarator()
6141 if (D.getCXXScopeSpec().isValid()) { in ParseDirectDeclarator()
6196 } else if (D.getCXXScopeSpec().isSet()) { in ParseDirectDeclarator()
6207 if (ParseUnqualifiedId(D.getCXXScopeSpec(), in ParseDirectDeclarator()
6215 D.getCXXScopeSpec().isInvalid()) { in ParseDirectDeclarator()
6234 if (D.getCXXScopeSpec().isNotEmpty()) { in ParseDirectDeclarator()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp6171 if (D.getCXXScopeSpec().isInvalid()) in HandleDeclarator()
6173 else if (D.getCXXScopeSpec().isSet()) { in HandleDeclarator()
6236 if (!D.getCXXScopeSpec().isSet()) { in HandleDeclarator()
6561 if (D.getCXXScopeSpec().isSet()) { in ActOnTypedefDeclarator()
6563 << D.getCXXScopeSpec().getRange(); in ActOnTypedefDeclarator()
7462 D.getCXXScopeSpec(), in ActOnVariableDeclarator()
7850 D.getCXXScopeSpec().isSet()) { in ActOnVariableDeclarator()
9546 D.getCXXScopeSpec(), in ActOnFunctionDeclarator()
10218 if (D.getCXXScopeSpec().isSet()) { in ActOnFunctionDeclarator()
14176 if (D.getCXXScopeSpec().isSet()) { in CheckFunctionOrTemplateParamDeclarator()
[all …]
H A DSemaTemplate.cpp10111 LookupParsedName(Previous, S, &D.getCXXScopeSpec()); in ActOnExplicitInstantiation()
10205 if (!ScopeSpecifierHasTemplateId(D.getCXXScopeSpec()) && !PrevTemplate) in ActOnExplicitInstantiation()
10208 << Prev << D.getCXXScopeSpec().getRange(); in ActOnExplicitInstantiation()
10426 D.getCXXScopeSpec().isSet() && in ActOnExplicitInstantiation()
10427 !ScopeSpecifierHasTemplateId(D.getCXXScopeSpec())) in ActOnExplicitInstantiation()
10430 << Specialization << D.getCXXScopeSpec().getRange(); in ActOnExplicitInstantiation()
10436 D.getIdentifierLoc(), D.getCXXScopeSpec().isSet(), TSK); in ActOnExplicitInstantiation()
H A DSemaType.cpp3896 if (StartsWithDeclaratorId && D.getCXXScopeSpec().isValid()) { in warnAboutRedundantParens()
3897 for (NestedNameSpecifier *NNS = D.getCXXScopeSpec().getScopeRep(); NNS; in warnAboutRedundantParens()
5469 return (!state.getDeclarator().getCXXScopeSpec().isEmpty() && in GetFullTypeForDeclarator()
5471 .getCXXScopeSpec() in GetFullTypeForDeclarator()
5647 else if (!D.getCXXScopeSpec().isSet()) { in GetFullTypeForDeclarator()
5653 DeclContext *DC = S.computeDeclContext(D.getCXXScopeSpec()); in GetFullTypeForDeclarator()
H A DSemaDeclObjC.cpp5212 if (D.getCXXScopeSpec().isSet()) { in ActOnObjCExceptionDecl()
5214 << D.getCXXScopeSpec().getRange(); in ActOnObjCExceptionDecl()
H A DSemaDeclCXX.cpp861 NamedDecl *ShadowedDecl = D.getCXXScopeSpec().isEmpty() in ActOnDecompositionDeclarator()
3402 CXXScopeSpec &SS = D.getCXXScopeSpec(); in ActOnCXXMemberDeclarator()
16527 if (D.getCXXScopeSpec().isSet() && !Invalid) { in ActOnExceptionDeclarator()
16529 << D.getCXXScopeSpec().getRange(); in ActOnExceptionDeclarator()
16988 CXXScopeSpec &SS = D.getCXXScopeSpec(); in ActOnFriendFunctionDecl()
18376 Declarator.getCXXScopeSpec(), /*TemplateId=*/nullptr, in ActOnStartFunctionDeclarationDeclarator()
H A DSemaOpenMP.cpp7075 LookupParsedName(Lookup, S, &D.getCXXScopeSpec()); in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h1955 const CXXScopeSpec &getCXXScopeSpec() const { return SS; } in getCXXScopeSpec() function
1956 CXXScopeSpec &getCXXScopeSpec() { return SS; } in getCXXScopeSpec() function