| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | RAIIObjectsForParser.h | 208 const ParsingDeclSpec &getDeclSpec() const { in getDeclSpec() function 209 return static_cast<const ParsingDeclSpec&>(Declarator::getDeclSpec()); in getDeclSpec() 213 return const_cast<ParsingDeclSpec&>(getDeclSpec()); in getMutableDeclSpec() 235 const ParsingDeclSpec &getDeclSpec() const { in getDeclSpec() function 236 return static_cast<const ParsingDeclSpec&>(D.getDeclSpec()); in getDeclSpec() 240 return const_cast<ParsingDeclSpec&>(getDeclSpec()); in getMutableDeclSpec()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 6196 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnTypedefDeclarator() 6198 if (D.getDeclSpec().isInlineSpecified()) in ActOnTypedefDeclarator() 6201 if (D.getDeclSpec().hasConstexprSpecifier()) in ActOnTypedefDeclarator() 6971 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnVariableDeclarator() 7185 if (D.getDeclSpec().isInlineSpecified()) { in ActOnVariableDeclarator() 9500 if (D.getDeclSpec().isNoreturnSpecified()) in ActOnFunctionDeclarator() 9563 CheckMain(NewFD, D.getDeclSpec()); in ActOnFunctionDeclarator() 9713 CheckMain(NewFD, D.getDeclSpec()); in ActOnFunctionDeclarator() 13711 const DeclSpec &DS = D.getDeclSpec(); in ActOnParamDeclarator() 14382 if (D.getDeclSpec().hasAutoTypeSpec()) { in canDelayFunctionBody() [all …]
|
| H A D | SemaType.cpp | 54 D.getDeclSpec().hasTypeSpecifier()) in isOmittedBlockReturnType() 828 const DeclSpec &DS = declarator.getDeclSpec(); in checkOmittedBlockReturnType() 3456 if (D.getDeclSpec().isFriendSpecified()) in GetDeclSpecTypeForDeclarator() 4789 D.getDeclSpec().getEndLoc(), in GetFullTypeForDeclarator() 4984 if (D.getDeclSpec().hasAutoTypeSpec() && in GetFullTypeForDeclarator() 4987 S.Diag(D.getDeclSpec().getTypeSpecTypeLoc(), in GetFullTypeForDeclarator() 4994 S.Diag(D.getDeclSpec().getTypeSpecTypeLoc(), in GetFullTypeForDeclarator() 5006 S.Diag(D.getDeclSpec().getBeginLoc(), in GetFullTypeForDeclarator() 5016 S.Diag(D.getDeclSpec().getTypeSpecTypeLoc(), in GetFullTypeForDeclarator() 5018 << T << D.getDeclSpec().getSourceRange(); in GetFullTypeForDeclarator() [all …]
|
| H A D | SemaDeclCXX.cpp | 749 auto &DS = D.getDeclSpec(); in ActOnDecompositionDeclarator() 3230 const DeclSpec &DS = D.getDeclSpec(); in ActOnCXXMemberDeclarator() 10287 D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec().getVolatileSpecLoc(), in CheckConstructorDeclarator() 10288 D.getDeclSpec().getRestrictSpecLoc(), in CheckConstructorDeclarator() 10289 D.getDeclSpec().getAtomicSpecLoc()); in CheckConstructorDeclarator() 10455 if (D.getDeclSpec().hasTypeSpecifier()) in CheckDestructorDeclarator() 10553 const DeclSpec &DS = D.getDeclSpec(); in CheckConversionDeclarator() 10834 Diag(D.getDeclSpec().getBeginLoc(), in CheckDeductionGuideDeclarator() 16690 const DeclSpec &DS = D.getDeclSpec(); in ActOnFriendFunctionDecl() 18033 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in HandleMSProperty() [all …]
|
| H A D | SemaTemplate.cpp | 1487 const DeclSpec &DS = D.getDeclSpec(); in ActOnNonTypeTemplateParameter() 9940 Diag(D.getDeclSpec().getBeginLoc(), in ActOnExplicitInstantiation() 9942 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); in ActOnExplicitInstantiation() 9962 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in ActOnExplicitInstantiation() 9966 } else if (D.getDeclSpec().getStorageClassSpec() in ActOnExplicitInstantiation() 9980 if (D.getDeclSpec().isInlineSpecified()) in ActOnExplicitInstantiation() 9981 Diag(D.getDeclSpec().getInlineSpecLoc(), in ActOnExplicitInstantiation() 9985 << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc()); in ActOnExplicitInstantiation() 9986 if (D.getDeclSpec().hasConstexprSpecifier() && R->isFunctionType()) in ActOnExplicitInstantiation() 9989 Diag(D.getDeclSpec().getConstexprSpecLoc(), in ActOnExplicitInstantiation() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 860 const DeclSpec &DS = D.getDeclSpec(); in containsUnexpandedParameterPacks()
|
| H A D | SemaDeclObjC.cpp | 5167 const DeclSpec &DS = D.getDeclSpec(); in ActOnObjCExceptionDecl() 5181 if (DeclSpec::TSCS TSCS = D.getDeclSpec().getThreadStorageClassSpec()) in ActOnObjCExceptionDecl() 5182 Diag(D.getDeclSpec().getThreadStorageClassSpecLoc(), in ActOnObjCExceptionDecl() 5187 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnObjCExceptionDecl()
|
| H A D | DeclSpec.cpp | 413 return getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static || in isStaticMember()
|
| H A D | SemaLambda.cpp | 984 ParamInfo.getDeclSpec().getConstexprSpecifier(), in ActOnStartOfLambdaDefinition()
|
| H A D | SemaDeclAttr.cpp | 8574 ::checkUnusedDeclAttributes(*this, D.getDeclSpec().getAttributes()); in checkUnusedDeclAttributes() 8682 if (!PD.getDeclSpec().getAttributes().empty()) in ProcessDeclAttributes() 8683 ProcessDeclAttributeList(S, D, PD.getDeclSpec().getAttributes()); in ProcessDeclAttributes()
|
| H A D | SemaExprCXX.cpp | 1797 if (D.getDeclSpec().hasAutoTypeSpec()) in ActOnCXXNew()
|
| H A D | SemaOpenMP.cpp | 6660 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope() 6662 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Consteval; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 1910 const DeclSpec &getDeclSpec() const { return DS; } in getDeclSpec() function 2118 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in mayBeFollowedByCXXDirectInit() 2121 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern && in mayBeFollowedByCXXDirectInit() 2353 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in isFunctionDeclarationContext() 2528 if (!getAttributes().empty() || getDeclSpec().hasAttributes()) in hasAttributes() 2590 !getDeclSpec().isFriendSpecified(); in isFirstDeclarationOfMember()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 5782 if (D.getDeclSpec().isTypeSpecPipe() && !isPipeDeclerator(D)) { in ParseDeclaratorInternal() 6002 D.getDeclSpec().getTypeSpecType() != TST_auto)) { in ParseDirectDeclarator() 6025 if (D.getDeclSpec().hasTypeSpecifier()) { in ParseDirectDeclarator() 6168 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator() 6177 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator() 6178 : D.getDeclSpec().getSourceRange()); in ParseDirectDeclarator() 6452 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef && in InitCXXThisScopeForDeclaratorIfRelevant() 6454 ? !D.getDeclSpec().isFriendSpecified() in InitCXXThisScopeForDeclaratorIfRelevant() 6636 if (D.getDeclSpec().getTypeSpecType() == TST_auto) in ParseFunctionDeclarator() 6637 StartLoc = D.getDeclSpec().getTypeSpecTypeLoc(); in ParseFunctionDeclarator() [all …]
|
| H A D | ParseDeclCXX.cpp | 2418 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer() 2446 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer() 2897 } else if (DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 2899 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 2952 DeclaratorInfo.getDeclSpec().getStorageClassSpec() == in ParseCXXClassMemberDeclaration() 3013 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 3978 InitCXXThisScopeForDeclaratorIfRelevant(D, D.getDeclSpec(), ThisScope); in ParseTrailingRequiresClause() 4000 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 | 1182 if (getLangOpts().ImplicitInt && D.getDeclSpec().isEmpty()) { in ParseFunctionDefinition() 1190 D.SetRangeBegin(D.getDeclSpec().getSourceRange().getBegin()); in ParseFunctionDefinition()
|
| H A D | ParseObjc.cpp | 1230 attrs.getPool().takeAllFrom(D.getDeclSpec().getAttributePool()); in takeDeclAttributes() 1980 getCurScope(), FD.D.getDeclSpec().getSourceRange().getBegin(), FD.D, in ParseObjCClassInstanceVariables()
|
| H A D | ParseExprCXX.cpp | 3236 D.SetSourceRange(D.getDeclSpec().getSourceRange()); in ParseExpressionListOrTypeId()
|