Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Parse/
HDRAIIObjectsForParser.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-11-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaDecl.cpp5553 Diag(D.getDeclSpec().getBeginLoc(), diag::err_declarator_need_ident) in HandleDeclarator()
5554 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); in HandleDeclarator()
5573 bool EnteringContext = !D.getDeclSpec().isFriendSpecified(); in HandleDeclarator()
5599 if (!D.getDeclSpec().isFriendSpecified()) { in HandleDeclarator()
5642 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in HandleDeclarator()
5645 (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern || in HandleDeclarator()
5651 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_static) in HandleDeclarator()
5712 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef && in HandleDeclarator()
5724 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in HandleDeclarator()
5926 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnTypedefDeclarator()
[all …]
HDSemaType.cpp53 D.getDeclSpec().hasTypeSpecifier()) in isOmittedBlockReturnType()
329 return const_cast<DeclSpec&>(declarator.getDeclSpec()); in getMutableDeclSpec()
824 const DeclSpec &DS = declarator.getDeclSpec(); in checkOmittedBlockReturnType()
2948 D.getDeclSpec().getTypeQualifiers(), in diagnoseRedundantReturnTypeQualifiers()
2950 D.getDeclSpec().getConstSpecLoc(), in diagnoseRedundantReturnTypeQualifiers()
2951 D.getDeclSpec().getVolatileSpecLoc(), in diagnoseRedundantReturnTypeQualifiers()
2952 D.getDeclSpec().getRestrictSpecLoc(), in diagnoseRedundantReturnTypeQualifiers()
2953 D.getDeclSpec().getAtomicSpecLoc(), in diagnoseRedundantReturnTypeQualifiers()
2954 D.getDeclSpec().getUnalignedSpecLoc()); in diagnoseRedundantReturnTypeQualifiers()
2991 /*KeyLoc=*/D.getDeclSpec().getTypeSpecTypeLoc(), in InventTemplateParameter()
[all …]
HDSemaDeclCXX.cpp726 auto &DS = D.getDeclSpec(); in ActOnDecompositionDeclarator()
3158 const DeclSpec &DS = D.getDeclSpec(); in ActOnCXXMemberDeclarator()
3174 getMSPropertyAttr(D.getDeclSpec().getAttributes()); in ActOnCXXMemberDeclarator()
3259 if (D.getDeclSpec().getTypeQualifiers() & DeclSpec::TQ_const) in ActOnCXXMemberDeclarator()
9825 bool isVirtual = D.getDeclSpec().isVirtualSpecified(); in CheckConstructorDeclarator()
9835 << "virtual" << SourceRange(D.getDeclSpec().getVirtualSpecLoc()) in CheckConstructorDeclarator()
9842 << "static" << SourceRange(D.getDeclSpec().getStorageClassSpecLoc()) in CheckConstructorDeclarator()
9848 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckConstructorDeclarator()
9851 D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec().getVolatileSpecLoc(), in CheckConstructorDeclarator()
9852 D.getDeclSpec().getRestrictSpecLoc(), in CheckConstructorDeclarator()
[all …]
HDSemaTemplate.cpp1346 const DeclSpec &DS = D.getDeclSpec(); in ActOnNonTypeTemplateParameter()
9700 Diag(D.getDeclSpec().getBeginLoc(), in ActOnExplicitInstantiation()
9702 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); in ActOnExplicitInstantiation()
9722 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in ActOnExplicitInstantiation()
9726 } else if (D.getDeclSpec().getStorageClassSpec() in ActOnExplicitInstantiation()
9730 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in ActOnExplicitInstantiation()
9740 if (D.getDeclSpec().isInlineSpecified()) in ActOnExplicitInstantiation()
9741 Diag(D.getDeclSpec().getInlineSpecLoc(), in ActOnExplicitInstantiation()
9745 << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc()); in ActOnExplicitInstantiation()
9746 if (D.getDeclSpec().hasConstexprSpecifier() && R->isFunctionType()) in ActOnExplicitInstantiation()
[all …]
HDSemaTemplateVariadic.cpp836 const DeclSpec &DS = D.getDeclSpec(); in containsUnexpandedParameterPacks()
HDSemaDeclObjC.cpp5069 const DeclSpec &DS = D.getDeclSpec(); in ActOnObjCExceptionDecl()
5083 if (DeclSpec::TSCS TSCS = D.getDeclSpec().getThreadStorageClassSpec()) in ActOnObjCExceptionDecl()
5084 Diag(D.getDeclSpec().getThreadStorageClassSpecLoc(), in ActOnObjCExceptionDecl()
5089 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnObjCExceptionDecl()
HDDeclSpec.cpp398 return getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static || in isStaticMember()
HDSemaLambda.cpp977 ParamInfo.getDeclSpec().getConstexprSpecifier(), in ActOnStartOfLambdaDefinition()
HDSemaDeclAttr.cpp7596 ::checkUnusedDeclAttributes(*this, D.getDeclSpec().getAttributes()); in checkUnusedDeclAttributes()
7704 if (!PD.getDeclSpec().getAttributes().empty()) in ProcessDeclAttributes()
7705 ProcessDeclAttributeList(S, D, PD.getDeclSpec().getAttributes()); in ProcessDeclAttributes()
HDSemaExprCXX.cpp1659 if (D.getDeclSpec().hasAutoTypeSpec()) in ActOnCXXNew()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
HDDeclSpec.h1895 const DeclSpec &getDeclSpec() const { return DS; } in getDeclSpec() function
2102 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in mayBeFollowedByCXXDirectInit()
2105 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern && in mayBeFollowedByCXXDirectInit()
2337 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in isFunctionDeclarationContext()
2501 if (!getAttributes().empty() || getDeclSpec().hasAttributes()) in hasAttributes()
2560 !getDeclSpec().isFriendSpecified(); in isFirstDeclarationOfMember()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
HDParseDecl.cpp4278 FD.D.getDeclSpec().getSourceRange().getBegin(), in ParseStructUnionBody()
5672 if (D.getDeclSpec().isTypeSpecPipe() && !isPipeDeclerator(D)) { in ParseDeclaratorInternal()
5893 D.getDeclSpec().getTypeSpecType() != TST_auto)) { in ParseDirectDeclarator()
5916 if (D.getDeclSpec().hasTypeSpecifier()) { in ParseDirectDeclarator()
6061 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator()
6062 : D.getDeclSpec().getSourceRange()); in ParseDirectDeclarator()
6070 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator()
6071 : D.getDeclSpec().getSourceRange()); in ParseDirectDeclarator()
6344 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef && in InitCXXThisScopeForDeclaratorIfRelevant()
6346 ? !D.getDeclSpec().isFriendSpecified() in InitCXXThisScopeForDeclaratorIfRelevant()
[all …]
HDParseDeclCXX.cpp2323 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer()
2347 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer()
2780 } else if (DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration()
2782 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration()
2835 DeclaratorInfo.getDeclSpec().getStorageClassSpec() == in ParseCXXClassMemberDeclaration()
2891 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration()
3818 InitCXXThisScopeForDeclaratorIfRelevant(D, D.getDeclSpec(), ThisScope); in ParseTrailingRequiresClause()
3840 D.getDeclSpec().getTypeSpecType() == TST_auto) { in ParseTrailingRequiresClause()
HDParseCXXInlineMethods.cpp38 if (D.getDeclSpec().isFriendSpecified()) in ParseCXXInlineMethodDef()
112 !D.getDeclSpec().hasConstexprSpecifier() && in ParseCXXInlineMethodDef()
HDParser.cpp1144 if (getLangOpts().ImplicitInt && D.getDeclSpec().isEmpty()) { in ParseFunctionDefinition()
1152 D.SetRangeBegin(D.getDeclSpec().getSourceRange().getBegin()); in ParseFunctionDefinition()
HDParseObjc.cpp1223 attrs.getPool().takeAllFrom(D.getDeclSpec().getAttributePool()); in takeDeclAttributes()
1976 getCurScope(), FD.D.getDeclSpec().getSourceRange().getBegin(), FD.D, in ParseObjCClassInstanceVariables()
HDParseExprCXX.cpp3155 D.SetSourceRange(D.getDeclSpec().getSourceRange()); in ParseExpressionListOrTypeId()