/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 6214 Diag(D.getDeclSpec().getBeginLoc(), diag::err_declarator_need_ident) in HandleDeclarator() 6215 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); in HandleDeclarator() 6228 bool EnteringContext = !D.getDeclSpec().isFriendSpecified(); in HandleDeclarator() 6254 if (!D.getDeclSpec().isFriendSpecified()) { in HandleDeclarator() 6301 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in HandleDeclarator() 6304 (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern || in HandleDeclarator() 6310 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_static) in HandleDeclarator() 6378 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef && in HandleDeclarator() 6393 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in HandleDeclarator() 6626 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnTypedefDeclarator() [all …]
|
H A D | SemaType.cpp | 66 D.getDeclSpec().hasTypeSpecifier()) in isOmittedBlockReturnType() 363 return const_cast<DeclSpec&>(declarator.getDeclSpec()); in getMutableDeclSpec() 849 const DeclSpec &DS = declarator.getDeclSpec(); in checkOmittedBlockReturnType() 2955 D.getDeclSpec().getTypeQualifiers(), in diagnoseRedundantReturnTypeQualifiers() 2957 D.getDeclSpec().getConstSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 2958 D.getDeclSpec().getVolatileSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 2959 D.getDeclSpec().getRestrictSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 2960 D.getDeclSpec().getAtomicSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 2961 D.getDeclSpec().getUnalignedSpecLoc()); in diagnoseRedundantReturnTypeQualifiers() 2984 /*KeyLoc=*/D.getDeclSpec().getTypeSpecTypeLoc(), in InventTemplateParameter() [all …]
|
H A D | SemaLambda.cpp | 924 (ParamInfo.getDeclSpec().getStorageClassSpec() == in getLambdaType() 926 ParamInfo.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static) && in getLambdaType() 929 ParamInfo.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static; in getLambdaType() 1430 ParamInfo.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static; in ActOnStartOfLambdaDefinition() 1435 ParamInfo.getDeclSpec().getConstexprSpecifier(), in ActOnStartOfLambdaDefinition()
|
H A D | SemaDeclCXX.cpp | 766 auto &DS = D.getDeclSpec(); in ActOnDecompositionDeclarator() 3321 const DeclSpec &DS = D.getDeclSpec(); in ActOnCXXMemberDeclarator() 3337 D.getDeclSpec().getAttributes().getMSPropertyAttr(); in ActOnCXXMemberDeclarator() 3422 if (D.getDeclSpec().getTypeQualifiers() & DeclSpec::TQ_const) in ActOnCXXMemberDeclarator() 10750 bool isVirtual = D.getDeclSpec().isVirtualSpecified(); in CheckConstructorDeclarator() 10760 << "virtual" << SourceRange(D.getDeclSpec().getVirtualSpecLoc()) in CheckConstructorDeclarator() 10767 << "static" << SourceRange(D.getDeclSpec().getStorageClassSpecLoc()) in CheckConstructorDeclarator() 10773 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckConstructorDeclarator() 10776 D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec() in CheckConstructorDeclarator() [all...] |
H A D | SemaTemplate.cpp | 1464 const DeclSpec &DS = D.getDeclSpec(); in ActOnNonTypeTemplateParameter() 9821 Diag(D.getDeclSpec().getBeginLoc(), in ActOnExplicitInstantiation() 9823 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); in ActOnExplicitInstantiation() 9840 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in ActOnExplicitInstantiation() 9844 } else if (D.getDeclSpec().getStorageClassSpec() in ActOnExplicitInstantiation() 9848 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in ActOnExplicitInstantiation() 9858 if (D.getDeclSpec().isInlineSpecified()) in ActOnExplicitInstantiation() 9859 Diag(D.getDeclSpec().getInlineSpecLoc(), in ActOnExplicitInstantiation() 9863 << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc()); in ActOnExplicitInstantiation() 9864 if (D.getDeclSpec().hasConstexprSpecifier() && R->isFunctionType()) in ActOnExplicitInstantiation() [all …]
|
H A D | SemaDeclObjC.cpp | 5203 const DeclSpec &DS = D.getDeclSpec(); in ActOnObjCExceptionDecl() 5217 if (DeclSpec::TSCS TSCS = D.getDeclSpec().getThreadStorageClassSpec()) in ActOnObjCExceptionDecl() 5218 Diag(D.getDeclSpec().getThreadStorageClassSpecLoc(), in ActOnObjCExceptionDecl() 5223 SemaRef.DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnObjCExceptionDecl() 5670 if (D.getDeclSpec().isModulePrivateSpecified()) in ActOnIvar()
|
H A D | SemaTemplateVariadic.cpp | 882 const DeclSpec &DS = D.getDeclSpec(); in containsUnexpandedParameterPacks()
|
H A D | DeclSpec.cpp | 418 return getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static || in isStaticMember()
|
H A D | Sema.cpp | 2749 !D.getDeclSpec().isFriendSpecified()); in isDeclaratorFunctionLike()
|
H A D | SemaDeclAttr.cpp | 7229 ::checkUnusedDeclAttributes(*this, D.getDeclSpec().getAttributes()); in checkUnusedDeclAttributes() 7361 ProcessAttributesWithSliding(PD.getDeclSpec().getAttributes(), in ProcessDeclAttributes()
|
H A D | SemaExprCXX.cpp | 1917 if (D.getDeclSpec().hasAutoTypeSpec()) in ActOnCXXNew()
|
H A D | SemaOpenMP.cpp | 7096 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope() 7098 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Consteval; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | DeclSpec.h | 2047 const DeclSpec &getDeclSpec() const { return DS; } in getDeclSpec() function 2259 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in mayBeFollowedByCXXDirectInit() 2262 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern && in mayBeFollowedByCXXDirectInit() 2511 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in isFunctionDeclarationContext() 2693 getDeclSpec().hasAttributes()) in hasAttributes() 2751 !getDeclSpec().isFriendSpecified(); in isFirstDeclarationOfMember()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseDecl.cpp | 5142 FD.D.getDeclSpec().getSourceRange().getBegin(), in ParseStructUnionBody() 6701 if (D.getDeclSpec().isTypeSpecPipe() && !isPipeDeclarator(D)) { in ParseDeclaratorInternal() 6934 D.getDeclSpec().getTypeSpecType() != TST_auto)) { in ParseDirectDeclarator() 6957 if (D.getDeclSpec().hasTypeSpecifier()) { in ParseDirectDeclarator() 7054 D.getDeclSpec().getTypeSpecType() == TST_auto) == in ParseDirectDeclarator() 7103 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator() 7104 : D.getDeclSpec().getSourceRange()); in ParseDirectDeclarator() 7112 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator() 7113 : D.getDeclSpec().getSourceRange()); in ParseDirectDeclarator() 7440 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef && in InitCXXThisScopeForDeclaratorIfRelevant() [all …]
|
H A D | ParseDeclCXX.cpp | 2707 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer() 2736 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer() 3208 } else if (DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 3210 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 3265 DeclaratorInfo.getDeclSpec().getStorageClassSpec() == in ParseCXXClassMemberDeclaration() 3329 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 4344 InitCXXThisScopeForDeclaratorIfRelevant(D, D.getDeclSpec(), ThisScope); in ParseTrailingRequiresClause() 4366 D.getDeclSpec().getTypeSpecType() == TST_auto) { in ParseTrailingRequiresClause()
|
H A D | ParseCXXInlineMethods.cpp | 83 if (D.getDeclSpec().isFriendSpecified()) in ParseCXXInlineMethodDef() 158 !D.getDeclSpec().hasConstexprSpecifier() && in ParseCXXInlineMethodDef()
|
H A D | Parser.cpp | 1304 if (getLangOpts().isImplicitIntRequired() && D.getDeclSpec().isEmpty()) { in ParseFunctionDefinition() 1306 << D.getDeclSpec().getSourceRange(); in ParseFunctionDefinition() 1314 D.SetRangeBegin(D.getDeclSpec().getSourceRange().getBegin()); in ParseFunctionDefinition()
|
H A D | ParseObjc.cpp | 1286 attrs.getPool().takeAllFrom(D.getDeclSpec().getAttributePool()); in takeDeclAttributes() 2023 getCurScope(), FD.D.getDeclSpec().getSourceRange().getBegin(), FD.D, in ParseObjCClassInstanceVariables()
|
H A D | ParseExprCXX.cpp | 3475 D.SetSourceRange(D.getDeclSpec().getSourceRange()); in ParseExpressionListOrTypeId()
|