| /openbsd-src/gnu/llvm/clang/include/clang/Parse/ |
| H A D | RAIIObjectsForParser.h | 210 const ParsingDeclSpec &getDeclSpec() const { in getDeclSpec() function 211 return static_cast<const ParsingDeclSpec&>(Declarator::getDeclSpec()); in getDeclSpec() 215 return const_cast<ParsingDeclSpec&>(getDeclSpec()); in getMutableDeclSpec() 238 const ParsingDeclSpec &getDeclSpec() const { in getDeclSpec() function 239 return static_cast<const ParsingDeclSpec&>(D.getDeclSpec()); in getDeclSpec() 243 return const_cast<ParsingDeclSpec&>(getDeclSpec()); in getMutableDeclSpec()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 6237 Diag(D.getDeclSpec().getBeginLoc(), diag::err_declarator_need_ident) in HandleDeclarator() 6238 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); in HandleDeclarator() 6257 bool EnteringContext = !D.getDeclSpec().isFriendSpecified(); in HandleDeclarator() 6283 if (!D.getDeclSpec().isFriendSpecified()) { in HandleDeclarator() 6326 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in HandleDeclarator() 6329 (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern || in HandleDeclarator() 6335 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_static) in HandleDeclarator() 6396 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef && in HandleDeclarator() 6408 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in HandleDeclarator() 6649 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnTypedefDeclarator() [all …]
|
| H A D | SemaType.cpp | 58 D.getDeclSpec().hasTypeSpecifier()) in isOmittedBlockReturnType() 340 return const_cast<DeclSpec&>(declarator.getDeclSpec()); in getMutableDeclSpec() 821 const DeclSpec &DS = declarator.getDeclSpec(); in checkOmittedBlockReturnType() 3338 D.getDeclSpec().getTypeQualifiers(), in diagnoseRedundantReturnTypeQualifiers() 3340 D.getDeclSpec().getConstSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 3341 D.getDeclSpec().getVolatileSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 3342 D.getDeclSpec().getRestrictSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 3343 D.getDeclSpec().getAtomicSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 3344 D.getDeclSpec().getUnalignedSpecLoc()); in diagnoseRedundantReturnTypeQualifiers() 3367 /*KeyLoc=*/D.getDeclSpec().getTypeSpecTypeLoc(), in InventTemplateParameter() [all …]
|
| H A D | SemaLambda.cpp | 931 (ParamInfo.getDeclSpec().getStorageClassSpec() == in ActOnStartOfLambdaDefinition() 933 ParamInfo.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static) && in ActOnStartOfLambdaDefinition() 936 ParamInfo.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static; in ActOnStartOfLambdaDefinition() 1013 ParamInfo.getDeclSpec().getConstexprSpecifier(), in ActOnStartOfLambdaDefinition()
|
| H A D | SemaDeclCXX.cpp | 767 auto &DS = D.getDeclSpec(); in ActOnDecompositionDeclarator() 3304 const DeclSpec &DS = D.getDeclSpec(); in ActOnCXXMemberDeclarator() 3320 getMSPropertyAttr(D.getDeclSpec().getAttributes()); in ActOnCXXMemberDeclarator() 3405 if (D.getDeclSpec().getTypeQualifiers() & DeclSpec::TQ_const) in ActOnCXXMemberDeclarator() 10542 bool isVirtual = D.getDeclSpec().isVirtualSpecified(); in CheckConstructorDeclarator() 10552 << "virtual" << SourceRange(D.getDeclSpec().getVirtualSpecLoc()) in CheckConstructorDeclarator() 10559 << "static" << SourceRange(D.getDeclSpec().getStorageClassSpecLoc()) in CheckConstructorDeclarator() 10565 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckConstructorDeclarator() 10568 D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec().getVolatileSpecLoc(), in CheckConstructorDeclarator() 10569 D.getDeclSpec().getRestrictSpecLoc(), in CheckConstructorDeclarator() [all …]
|
| H A D | SemaTemplate.cpp | 1493 const DeclSpec &DS = D.getDeclSpec(); in ActOnNonTypeTemplateParameter() 10296 Diag(D.getDeclSpec().getBeginLoc(), in ActOnExplicitInstantiation() 10298 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); in ActOnExplicitInstantiation() 10318 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in ActOnExplicitInstantiation() 10322 } else if (D.getDeclSpec().getStorageClassSpec() in ActOnExplicitInstantiation() 10326 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in ActOnExplicitInstantiation() 10336 if (D.getDeclSpec().isInlineSpecified()) in ActOnExplicitInstantiation() 10337 Diag(D.getDeclSpec().getInlineSpecLoc(), in ActOnExplicitInstantiation() 10341 << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc()); in ActOnExplicitInstantiation() 10342 if (D.getDeclSpec().hasConstexprSpecifier() && R->isFunctionType()) in ActOnExplicitInstantiation() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 859 const DeclSpec &DS = D.getDeclSpec(); in containsUnexpandedParameterPacks()
|
| H A D | SemaDeclObjC.cpp | 5187 const DeclSpec &DS = D.getDeclSpec(); in ActOnObjCExceptionDecl() 5201 if (DeclSpec::TSCS TSCS = D.getDeclSpec().getThreadStorageClassSpec()) in ActOnObjCExceptionDecl() 5202 Diag(D.getDeclSpec().getThreadStorageClassSpecLoc(), in ActOnObjCExceptionDecl() 5207 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnObjCExceptionDecl()
|
| H A D | DeclSpec.cpp | 417 return getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static || in isStaticMember()
|
| H A D | Sema.cpp | 2710 !D.getDeclSpec().isFriendSpecified()); in isDeclaratorFunctionLike()
|
| H A D | SemaDeclAttr.cpp | 9486 ::checkUnusedDeclAttributes(*this, D.getDeclSpec().getAttributes()); in checkUnusedDeclAttributes() 9614 if (!PD.getDeclSpec().getAttributes().empty()) { in ProcessDeclAttributes() 9615 ProcessDeclAttributeList(S, D, PD.getDeclSpec().getAttributes(), in ProcessDeclAttributes()
|
| H A D | SemaExprCXX.cpp | 1855 if (D.getDeclSpec().hasAutoTypeSpec()) in ActOnCXXNew()
|
| H A D | SemaOpenMP.cpp | 7160 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope() 7162 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Consteval; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 1969 const DeclSpec &getDeclSpec() const { return DS; } in getDeclSpec() function 2180 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in mayBeFollowedByCXXDirectInit() 2183 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern && in mayBeFollowedByCXXDirectInit() 2416 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in isFunctionDeclarationContext() 2598 getDeclSpec().hasAttributes()) in hasAttributes() 2660 !getDeclSpec().isFriendSpecified(); in isFirstDeclarationOfMember()
|
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 4577 FD.D.getDeclSpec().getSourceRange().getBegin(), in ParseStructUnionBody() 6084 if (D.getDeclSpec().isTypeSpecPipe() && !isPipeDeclarator(D)) { in ParseDeclaratorInternal() 6306 D.getDeclSpec().getTypeSpecType() != TST_auto)) { in ParseDirectDeclarator() 6329 if (D.getDeclSpec().hasTypeSpecifier()) { in ParseDirectDeclarator() 6472 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator() 6473 : D.getDeclSpec().getSourceRange()); in ParseDirectDeclarator() 6481 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator() 6482 : D.getDeclSpec().getSourceRange()); in ParseDirectDeclarator() 6778 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef && in InitCXXThisScopeForDeclaratorIfRelevant() 6780 ? !D.getDeclSpec().isFriendSpecified() in InitCXXThisScopeForDeclaratorIfRelevant() [all …]
|
| H A D | ParseDeclCXX.cpp | 2498 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer() 2527 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer() 2995 } else if (DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 2997 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 3049 DeclaratorInfo.getDeclSpec().getStorageClassSpec() == in ParseCXXClassMemberDeclaration() 3113 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 4076 InitCXXThisScopeForDeclaratorIfRelevant(D, D.getDeclSpec(), ThisScope); in ParseTrailingRequiresClause() 4098 D.getDeclSpec().getTypeSpecType() == TST_auto) { in ParseTrailingRequiresClause()
|
| H A D | ParseCXXInlineMethods.cpp | 38 if (D.getDeclSpec().isFriendSpecified()) in ParseCXXInlineMethodDef() 112 !D.getDeclSpec().hasConstexprSpecifier() && in ParseCXXInlineMethodDef()
|
| H A D | Parser.cpp | 1255 if (getLangOpts().isImplicitIntRequired() && D.getDeclSpec().isEmpty()) { in ParseFunctionDefinition() 1257 << D.getDeclSpec().getSourceRange(); in ParseFunctionDefinition() 1265 D.SetRangeBegin(D.getDeclSpec().getSourceRange().getBegin()); in ParseFunctionDefinition()
|
| H A D | ParseObjc.cpp | 1268 attrs.getPool().takeAllFrom(D.getDeclSpec().getAttributePool()); in takeDeclAttributes() 2020 getCurScope(), FD.D.getDeclSpec().getSourceRange().getBegin(), FD.D, in ParseObjCClassInstanceVariables()
|
| H A D | ParseExprCXX.cpp | 3346 D.SetSourceRange(D.getDeclSpec().getSourceRange()); in ParseExpressionListOrTypeId()
|