Home
last modified time | relevance | path

Searched refs:getDeclSpec (Results 1 – 19 of 19) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Parse/
H A DRAIIObjectsForParser.h208 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 DSemaDecl.cpp6196 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 DSemaType.cpp54 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 DSemaDeclCXX.cpp749 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 DSemaTemplate.cpp1487 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 DSemaTemplateVariadic.cpp860 const DeclSpec &DS = D.getDeclSpec(); in containsUnexpandedParameterPacks()
H A DSemaDeclObjC.cpp5167 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 DDeclSpec.cpp413 return getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static || in isStaticMember()
H A DSemaLambda.cpp984 ParamInfo.getDeclSpec().getConstexprSpecifier(), in ActOnStartOfLambdaDefinition()
H A DSemaDeclAttr.cpp8574 ::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 DSemaExprCXX.cpp1797 if (D.getDeclSpec().hasAutoTypeSpec()) in ActOnCXXNew()
H A DSemaOpenMP.cpp6660 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 DDeclSpec.h1910 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 DParseDecl.cpp5782 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 DParseDeclCXX.cpp2418 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 DParseCXXInlineMethods.cpp38 if (D.getDeclSpec().isFriendSpecified()) in ParseCXXInlineMethodDef()
112 !D.getDeclSpec().hasConstexprSpecifier() && in ParseCXXInlineMethodDef()
H A DParser.cpp1182 if (getLangOpts().ImplicitInt && D.getDeclSpec().isEmpty()) { in ParseFunctionDefinition()
1190 D.SetRangeBegin(D.getDeclSpec().getSourceRange().getBegin()); in ParseFunctionDefinition()
H A DParseObjc.cpp1230 attrs.getPool().takeAllFrom(D.getDeclSpec().getAttributePool()); in takeDeclAttributes()
1980 getCurScope(), FD.D.getDeclSpec().getSourceRange().getBegin(), FD.D, in ParseObjCClassInstanceVariables()
H A DParseExprCXX.cpp3236 D.SetSourceRange(D.getDeclSpec().getSourceRange()); in ParseExpressionListOrTypeId()