| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 6782 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnTypedefDeclarator() 6784 if (D.getDeclSpec().isInlineSpecified()) in ActOnTypedefDeclarator() 6787 if (D.getDeclSpec().hasConstexprSpecifier()) in ActOnTypedefDeclarator() 7846 if (D.getDeclSpec().isInlineSpecified()) { in ActOnVariableDeclarator() 9306 (D.getDeclSpec().isTypeRep() && in CreateNewFunctionDecl() 10377 if (D.getDeclSpec().isNoreturnSpecified()) in ActOnFunctionDeclarator() 10451 CheckMain(NewFD, D.getDeclSpec()); in ActOnFunctionDeclarator() 10583 CheckMain(NewFD, D.getDeclSpec()); in ActOnFunctionDeclarator() 15105 const DeclSpec &DS = D.getDeclSpec(); in ActOnParamDeclarator() 15883 if (D.getDeclSpec().hasAutoTypeSpec()) { in canDelayFunctionBody() [all …]
|
| H A D | SemaType.cpp | 61 D.getDeclSpec().hasTypeSpecifier()) in isOmittedBlockReturnType() 838 const DeclSpec &DS = declarator.getDeclSpec(); in checkOmittedBlockReturnType() 3688 if (D.getDeclSpec().isFriendSpecified()) in GetDeclSpecTypeForDeclarator() 5051 D.getDeclSpec().getEndLoc(), in GetFullTypeForDeclarator() 5254 if (D.getDeclSpec().hasAutoTypeSpec() && in GetFullTypeForDeclarator() 5257 S.Diag(D.getDeclSpec().getTypeSpecTypeLoc(), in GetFullTypeForDeclarator() 5265 S.Diag(D.getDeclSpec().getTypeSpecTypeLoc(), in GetFullTypeForDeclarator() 5279 S.Diag(D.getDeclSpec().getBeginLoc(), in GetFullTypeForDeclarator() 5291 S.Diag(D.getDeclSpec().getTypeSpecTypeLoc(), in GetFullTypeForDeclarator() 5293 << T << D.getDeclSpec().getSourceRange(); in GetFullTypeForDeclarator() [all …]
|
| H A D | SemaLambda.cpp | 882 (ParamInfo.getDeclSpec().getStorageClassSpec() == in getLambdaType() 884 ParamInfo.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static) && in getLambdaType() 887 ParamInfo.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static; in getLambdaType() 1372 ParamInfo.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static; in ActOnStartOfLambdaDefinition() 1377 ParamInfo.getDeclSpec().getConstexprSpecifier(), in ActOnStartOfLambdaDefinition()
|
| H A D | SemaDeclCXX.cpp | 780 auto &DS = D.getDeclSpec(); in ActOnDecompositionDeclarator() 3444 const DeclSpec &DS = D.getDeclSpec(); in ActOnCXXMemberDeclarator() 10865 D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec().getVolatileSpecLoc(), in CheckConstructorDeclarator() 10866 D.getDeclSpec().getRestrictSpecLoc(), in CheckConstructorDeclarator() 10867 D.getDeclSpec().getAtomicSpecLoc()); in CheckConstructorDeclarator() 11033 if (D.getDeclSpec().hasTypeSpecifier()) in CheckDestructorDeclarator() 11131 const DeclSpec &DS = D.getDeclSpec(); in CheckConversionDeclarator() 11393 if (D.getDeclSpec().isVirtualSpecified()) { in CheckExplicitObjectMemberFunction() 11520 Diag(D.getDeclSpec().getBeginLoc(), in CheckDeductionGuideDeclarator() 17834 const DeclSpec &DS = D.getDeclSpec(); in ActOnFriendFunctionDecl() [all …]
|
| H A D | SemaTemplate.cpp | 1516 const DeclSpec &DS = D.getDeclSpec(); in ActOnNonTypeTemplateParameter() 10600 Diag(D.getDeclSpec().getBeginLoc(), in ActOnExplicitInstantiation() 10602 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); in ActOnExplicitInstantiation() 10622 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in ActOnExplicitInstantiation() 10626 } else if (D.getDeclSpec().getStorageClassSpec() in ActOnExplicitInstantiation() 10640 if (D.getDeclSpec().isInlineSpecified()) in ActOnExplicitInstantiation() 10641 Diag(D.getDeclSpec().getInlineSpecLoc(), in ActOnExplicitInstantiation() 10645 << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc()); in ActOnExplicitInstantiation() 10646 if (D.getDeclSpec().hasConstexprSpecifier() && R->isFunctionType()) in ActOnExplicitInstantiation() 10649 Diag(D.getDeclSpec().getConstexprSpecLoc(), in ActOnExplicitInstantiation() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 866 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 | 2756 !D.getDeclSpec().isFriendSpecified()); in isDeclaratorFunctionLike()
|
| H A D | SemaDeclAttr.cpp | 9989 ::checkUnusedDeclAttributes(*this, D.getDeclSpec().getAttributes()); in checkUnusedDeclAttributes() 10115 if (!PD.getDeclSpec().getAttributes().empty()) { in ProcessDeclAttributes() 10116 ProcessDeclAttributeList(S, D, PD.getDeclSpec().getAttributes(), in ProcessDeclAttributes()
|
| H A D | SemaExprCXX.cpp | 1887 if (D.getDeclSpec().hasAutoTypeSpec()) in ActOnCXXNew()
|
| H A D | SemaOpenMP.cpp | 7311 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope() 7313 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Consteval; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 1986 const DeclSpec &getDeclSpec() const { return DS; } in getDeclSpec() function 2197 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in mayBeFollowedByCXXDirectInit() 2200 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern && in mayBeFollowedByCXXDirectInit() 2433 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in isFunctionDeclarationContext() 2615 getDeclSpec().hasAttributes()) in hasAttributes() 2669 !getDeclSpec().isFriendSpecified(); in isFirstDeclarationOfMember()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 6305 if (D.getDeclSpec().isTypeSpecPipe() && !isPipeDeclarator(D)) { in ParseDeclaratorInternal() 6527 D.getDeclSpec().getTypeSpecType() != TST_auto)) { in ParseDirectDeclarator() 6550 if (D.getDeclSpec().hasTypeSpecifier()) { in ParseDirectDeclarator() 6694 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator() 6703 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator() 6704 : D.getDeclSpec().getSourceRange()); in ParseDirectDeclarator() 7010 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef && in InitCXXThisScopeForDeclaratorIfRelevant() 7012 ? !D.getDeclSpec().isFriendSpecified() in InitCXXThisScopeForDeclaratorIfRelevant() 7196 if (D.getDeclSpec().getTypeSpecType() == TST_auto) in ParseFunctionDeclarator() 7197 StartLoc = D.getDeclSpec().getTypeSpecTypeLoc(); in ParseFunctionDeclarator() [all …]
|
| H A D | ParseDeclCXX.cpp | 2539 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer() 2568 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer() 3042 } else if (DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 3044 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 3098 DeclaratorInfo.getDeclSpec().getStorageClassSpec() == in ParseCXXClassMemberDeclaration() 3162 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 4140 InitCXXThisScopeForDeclaratorIfRelevant(D, D.getDeclSpec(), ThisScope); in ParseTrailingRequiresClause() 4162 D.getDeclSpec().getTypeSpecType() == TST_auto) { in ParseTrailingRequiresClause()
|
| H A D | ParseCXXInlineMethods.cpp | 40 if (D.getDeclSpec().isFriendSpecified()) in ParseCXXInlineMethodDef() 114 !D.getDeclSpec().hasConstexprSpecifier() && in ParseCXXInlineMethodDef()
|
| H A D | Parser.cpp | 1299 if (getLangOpts().isImplicitIntRequired() && D.getDeclSpec().isEmpty()) { in ParseFunctionDefinition() 1301 << D.getDeclSpec().getSourceRange(); in ParseFunctionDefinition() 1309 D.SetRangeBegin(D.getDeclSpec().getSourceRange().getBegin()); in ParseFunctionDefinition()
|
| H A D | ParseObjc.cpp | 1281 attrs.getPool().takeAllFrom(D.getDeclSpec().getAttributePool()); in takeDeclAttributes() 2033 getCurScope(), FD.D.getDeclSpec().getSourceRange().getBegin(), FD.D, in ParseObjCClassInstanceVariables()
|
| H A D | ParseExprCXX.cpp | 3361 D.SetSourceRange(D.getDeclSpec().getSourceRange()); in ParseExpressionListOrTypeId()
|