| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 5721 Diag(D.getDeclSpec().getBeginLoc(), diag::err_declarator_need_ident) in HandleDeclarator() 5722 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); in HandleDeclarator() 5741 bool EnteringContext = !D.getDeclSpec().isFriendSpecified(); in HandleDeclarator() 5767 if (!D.getDeclSpec().isFriendSpecified()) { in HandleDeclarator() 5810 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in HandleDeclarator() 5813 (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern || in HandleDeclarator() 5819 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_static) in HandleDeclarator() 5880 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef && in HandleDeclarator() 5892 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in HandleDeclarator() 6133 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnTypedefDeclarator() [all …]
|
| H A D | SemaType.cpp | 54 D.getDeclSpec().hasTypeSpecifier()) in isOmittedBlockReturnType() 332 return const_cast<DeclSpec&>(declarator.getDeclSpec()); in getMutableDeclSpec() 827 const DeclSpec &DS = declarator.getDeclSpec(); in checkOmittedBlockReturnType() 3178 D.getDeclSpec().getTypeQualifiers(), in diagnoseRedundantReturnTypeQualifiers() 3180 D.getDeclSpec().getConstSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 3181 D.getDeclSpec().getVolatileSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 3182 D.getDeclSpec().getRestrictSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 3183 D.getDeclSpec().getAtomicSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 3184 D.getDeclSpec().getUnalignedSpecLoc()); in diagnoseRedundantReturnTypeQualifiers() 3207 /*KeyLoc=*/D.getDeclSpec().getTypeSpecTypeLoc(), in InventTemplateParameter() [all …]
|
| H A D | SemaDeclCXX.cpp | 751 auto &DS = D.getDeclSpec(); in ActOnDecompositionDeclarator() 3230 const DeclSpec &DS = D.getDeclSpec(); in ActOnCXXMemberDeclarator() 3246 getMSPropertyAttr(D.getDeclSpec().getAttributes()); in ActOnCXXMemberDeclarator() 3331 if (D.getDeclSpec().getTypeQualifiers() & DeclSpec::TQ_const) in ActOnCXXMemberDeclarator() 10254 bool isVirtual = D.getDeclSpec().isVirtualSpecified(); in CheckConstructorDeclarator() 10264 << "virtual" << SourceRange(D.getDeclSpec().getVirtualSpecLoc()) in CheckConstructorDeclarator() 10271 << "static" << SourceRange(D.getDeclSpec().getStorageClassSpecLoc()) in CheckConstructorDeclarator() 10277 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckConstructorDeclarator() 10280 D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec().getVolatileSpecLoc(), in CheckConstructorDeclarator() 10281 D.getDeclSpec().getRestrictSpecLoc(), in CheckConstructorDeclarator() [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() 9970 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); 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() [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 | 980 ParamInfo.getDeclSpec().getConstexprSpecifier(), in ActOnStartOfLambdaDefinition()
|
| H A D | SemaDeclAttr.cpp | 8444 ::checkUnusedDeclAttributes(*this, D.getDeclSpec().getAttributes()); in checkUnusedDeclAttributes() 8552 if (!PD.getDeclSpec().getAttributes().empty()) in ProcessDeclAttributes() 8553 ProcessDeclAttributeList(S, D, PD.getDeclSpec().getAttributes()); in ProcessDeclAttributes()
|
| H A D | SemaExprCXX.cpp | 1780 if (D.getDeclSpec().hasAutoTypeSpec()) in ActOnCXXNew()
|
| H A D | SemaOpenMP.cpp | 6645 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope() 6647 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Consteval; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 4318 FD.D.getDeclSpec().getSourceRange().getBegin(), in ParseStructUnionBody() 5765 if (D.getDeclSpec().isTypeSpecPipe() && !isPipeDeclerator(D)) { in ParseDeclaratorInternal() 5985 D.getDeclSpec().getTypeSpecType() != TST_auto)) { in ParseDirectDeclarator() 6008 if (D.getDeclSpec().hasTypeSpecifier()) { in ParseDirectDeclarator() 6151 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator() 6152 : D.getDeclSpec().getSourceRange()); in ParseDirectDeclarator() 6160 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator() 6161 : D.getDeclSpec().getSourceRange()); in ParseDirectDeclarator() 6435 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef && in InitCXXThisScopeForDeclaratorIfRelevant() 6437 ? !D.getDeclSpec().isFriendSpecified() in InitCXXThisScopeForDeclaratorIfRelevant() [all …]
|
| H A D | ParseDeclCXX.cpp | 2361 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer() 2389 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer() 2835 } else if (DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 2837 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 2890 DeclaratorInfo.getDeclSpec().getStorageClassSpec() == in ParseCXXClassMemberDeclaration() 2946 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 3887 InitCXXThisScopeForDeclaratorIfRelevant(D, D.getDeclSpec(), ThisScope); in ParseTrailingRequiresClause() 3909 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 | 1179 if (getLangOpts().ImplicitInt && D.getDeclSpec().isEmpty()) { in ParseFunctionDefinition() 1187 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 | 3235 D.SetSourceRange(D.getDeclSpec().getSourceRange()); in ParseExpressionListOrTypeId()
|