| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/ |
| H A D | RAIIObjectsForParser.h | 209 const ParsingDeclSpec &getDeclSpec() const { in getDeclSpec() function 210 return static_cast<const ParsingDeclSpec&>(Declarator::getDeclSpec()); in getDeclSpec() 214 return const_cast<ParsingDeclSpec&>(getDeclSpec()); in getMutableDeclSpec() 236 const ParsingDeclSpec &getDeclSpec() const { in getDeclSpec() function 237 return static_cast<const ParsingDeclSpec&>(D.getDeclSpec()); in getDeclSpec() 241 return const_cast<ParsingDeclSpec&>(getDeclSpec()); in getMutableDeclSpec()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 5697 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnTypedefDeclarator() 5699 if (D.getDeclSpec().isInlineSpecified()) in ActOnTypedefDeclarator() 5702 if (D.getDeclSpec().isConstexprSpecified()) in ActOnTypedefDeclarator() 6593 if (D.getDeclSpec().isInlineSpecified()) { in ActOnVariableDeclarator() 8748 if (D.getDeclSpec().isNoreturnSpecified()) in ActOnFunctionDeclarator() 8809 CheckMain(NewFD, D.getDeclSpec()); in ActOnFunctionDeclarator() 8955 CheckMain(NewFD, D.getDeclSpec()); in ActOnFunctionDeclarator() 12346 const DeclSpec &DS = D.getDeclSpec(); in ActOnParamDeclarator() 13026 if (D.getDeclSpec().isConstexprSpecified()) in canDelayFunctionBody() 13031 if (D.getDeclSpec().hasAutoTypeSpec()) { in canDelayFunctionBody() [all …]
|
| H A D | SemaType.cpp | 52 D.getDeclSpec().hasTypeSpecifier()) in isOmittedBlockReturnType() 792 const DeclSpec &DS = declarator.getDeclSpec(); in checkOmittedBlockReturnType() 2954 if (D.getDeclSpec().isFriendSpecified()) in GetDeclSpecTypeForDeclarator() 3182 D.getDeclSpec().getStorageClassSpec() in warnAboutAmbiguousFunction() 4278 D.getDeclSpec().getEndLoc(), in GetFullTypeForDeclarator() 4471 if (D.getDeclSpec().hasAutoTypeSpec() && in GetFullTypeForDeclarator() 4474 S.Diag(D.getDeclSpec().getTypeSpecTypeLoc(), in GetFullTypeForDeclarator() 4481 S.Diag(D.getDeclSpec().getTypeSpecTypeLoc(), in GetFullTypeForDeclarator() 4493 S.Diag(D.getDeclSpec().getBeginLoc(), in GetFullTypeForDeclarator() 4502 S.Diag(D.getDeclSpec().getTypeSpecTypeLoc(), in GetFullTypeForDeclarator() [all …]
|
| H A D | SemaDeclCXX.cpp | 723 auto &DS = D.getDeclSpec(); in ActOnDecompositionDeclarator() 2935 const DeclSpec &DS = D.getDeclSpec(); in ActOnCXXMemberDeclarator() 8175 D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec().getVolatileSpecLoc(), in CheckConstructorDeclarator() 8176 D.getDeclSpec().getRestrictSpecLoc(), in CheckConstructorDeclarator() 8177 D.getDeclSpec().getAtomicSpecLoc()); in CheckConstructorDeclarator() 8352 if (D.getDeclSpec().hasTypeSpecifier()) in CheckDestructorDeclarator() 8457 const DeclSpec &DS = D.getDeclSpec(); in CheckConversionDeclarator() 8739 Diag(D.getDeclSpec().getBeginLoc(), in CheckDeductionGuideDeclarator() 14262 const DeclSpec &DS = D.getDeclSpec(); in ActOnFriendFunctionDecl() 15573 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in HandleMSProperty() [all …]
|
| H A D | SemaTemplate.cpp | 1056 const DeclSpec &DS = D.getDeclSpec(); in ActOnNonTypeTemplateParameter() 9053 Diag(D.getDeclSpec().getBeginLoc(), in ActOnExplicitInstantiation() 9055 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); in ActOnExplicitInstantiation() 9075 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in ActOnExplicitInstantiation() 9079 } else if (D.getDeclSpec().getStorageClassSpec() in ActOnExplicitInstantiation() 9093 if (D.getDeclSpec().isInlineSpecified()) in ActOnExplicitInstantiation() 9094 Diag(D.getDeclSpec().getInlineSpecLoc(), in ActOnExplicitInstantiation() 9098 << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc()); in ActOnExplicitInstantiation() 9099 if (D.getDeclSpec().isConstexprSpecified() && R->isFunctionType()) in ActOnExplicitInstantiation() 9102 Diag(D.getDeclSpec().getConstexprSpecLoc(), in ActOnExplicitInstantiation() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 818 const DeclSpec &DS = D.getDeclSpec(); in containsUnexpandedParameterPacks()
|
| H A D | SemaDeclObjC.cpp | 4883 const DeclSpec &DS = D.getDeclSpec(); in ActOnObjCExceptionDecl() 4897 if (DeclSpec::TSCS TSCS = D.getDeclSpec().getThreadStorageClassSpec()) in ActOnObjCExceptionDecl() 4898 Diag(D.getDeclSpec().getThreadStorageClassSpecLoc(), in ActOnObjCExceptionDecl() 4903 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnObjCExceptionDecl()
|
| H A D | DeclSpec.cpp | 399 return getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static || in isStaticMember()
|
| H A D | SemaLambda.cpp | 912 ParamInfo.getDeclSpec().isConstexprSpecified()); in ActOnStartOfLambdaDefinition()
|
| H A D | SemaDeclAttr.cpp | 7143 ::checkUnusedDeclAttributes(*this, D.getDeclSpec().getAttributes()); in checkUnusedDeclAttributes() 7250 if (!PD.getDeclSpec().getAttributes().empty()) in ProcessDeclAttributes() 7251 ProcessDeclAttributeList(S, D, PD.getDeclSpec().getAttributes()); in ProcessDeclAttributes()
|
| H A D | SemaExprCXX.cpp | 1674 if (D.getDeclSpec().hasAutoTypeSpec()) in ActOnCXXNew()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 1854 const DeclSpec &getDeclSpec() const { return DS; } in getDeclSpec() function 2058 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in mayBeFollowedByCXXDirectInit() 2061 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern && in mayBeFollowedByCXXDirectInit() 2292 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in isFunctionDeclarationContext() 2414 if (!getAttributes().empty() || getDeclSpec().hasAttributes()) in hasAttributes() 2473 !getDeclSpec().isFriendSpecified(); in isFirstDeclarationOfMember()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 5396 if (D.getDeclSpec().isTypeSpecPipe() && !isPipeDeclerator(D)) { in ParseDeclaratorInternal() 5617 D.getDeclSpec().getTypeSpecType() != TST_auto)) { in ParseDirectDeclarator() 5640 if (D.getDeclSpec().hasTypeSpecifier()) { in ParseDirectDeclarator() 5785 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator() 5794 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator() 5795 : D.getDeclSpec().getSourceRange()); in ParseDirectDeclarator() 6152 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef && in ParseFunctionDeclarator() 6154 ? !D.getDeclSpec().isFriendSpecified() in ParseFunctionDeclarator() 6204 if (D.getDeclSpec().getTypeSpecType() == TST_auto) in ParseFunctionDeclarator() 6205 StartLoc = D.getDeclSpec().getTypeSpecTypeLoc(); in ParseFunctionDeclarator() [all …]
|
| H A D | ParseCXXInlineMethods.cpp | 39 if (D.getDeclSpec().isFriendSpecified()) in ParseCXXInlineMethodDef() 113 !D.getDeclSpec().isConstexprSpecified() && in ParseCXXInlineMethodDef()
|
| H A D | ParseDeclCXX.cpp | 2284 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer() 2308 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer() 2730 } else if (DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 2732 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 2785 DeclaratorInfo.getDeclSpec().getStorageClassSpec() == in ParseCXXClassMemberDeclaration() 2841 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration()
|
| H A D | Parser.cpp | 1059 if (getLangOpts().ImplicitInt && D.getDeclSpec().isEmpty()) { in ParseFunctionDefinition() 1067 D.SetRangeBegin(D.getDeclSpec().getSourceRange().getBegin()); in ParseFunctionDefinition()
|
| H A D | ParseObjc.cpp | 1211 attrs.getPool().takeAllFrom(D.getDeclSpec().getAttributePool()); in takeDeclAttributes() 1954 getCurScope(), FD.D.getDeclSpec().getSourceRange().getBegin(), FD.D, in ParseObjCClassInstanceVariables()
|
| H A D | ParseExprCXX.cpp | 2942 D.SetSourceRange(D.getDeclSpec().getSourceRange()); in ParseExpressionListOrTypeId()
|