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

/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DRAIIObjectsForParser.h208 const ParsingDeclSpec &getDeclSpec() const { function in class:clang::ParsingDeclarator
209 return static_cast<const ParsingDeclSpec&>(Declarator::getDeclSpec());
213 return const_cast<ParsingDeclSpec&>(getDeclSpec());
235 const ParsingDeclSpec &getDeclSpec() const { function in class:clang::ParsingFieldDeclarator
236 return static_cast<const ParsingDeclSpec&>(D.getDeclSpec());
240 return const_cast<ParsingDeclSpec&>(getDeclSpec());
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDecl.cpp5721 Diag(D.getDeclSpec().getBeginLoc(), diag::err_declarator_need_ident)
5722 << D.getDeclSpec().getSourceRange() << D.getSourceRange();
5741 bool EnteringContext = !D.getDeclSpec().isFriendSpecified();
5767 if (!D.getDeclSpec().isFriendSpecified()) {
5810 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef)
5813 (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern ||
5819 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_static)
5880 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef &&
5892 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) {
6133 DiagnoseFunctionSpecifiers(D.getDeclSpec());
[all...]
H A DSemaType.cpp54 D.getDeclSpec().hasTypeSpecifier())
332 return const_cast<DeclSpec&>(declarator.getDeclSpec());
827 const DeclSpec &DS = declarator.getDeclSpec();
3178 D.getDeclSpec().getTypeQualifiers(),
3180 D.getDeclSpec().getConstSpecLoc(),
3181 D.getDeclSpec().getVolatileSpecLoc(),
3182 D.getDeclSpec().getRestrictSpecLoc(),
3183 D.getDeclSpec().getAtomicSpecLoc(),
3184 D.getDeclSpec().getUnalignedSpecLoc());
3207 /*KeyLoc=*/D.getDeclSpec()
[all...]
H A DSemaDeclCXX.cpp751 auto &DS = D.getDeclSpec();
3230 const DeclSpec &DS = D.getDeclSpec();
3246 getMSPropertyAttr(D.getDeclSpec().getAttributes());
3331 if (D.getDeclSpec().getTypeQualifiers() & DeclSpec::TQ_const)
10254 bool isVirtual = D.getDeclSpec().isVirtualSpecified();
10264 << "virtual" << SourceRange(D.getDeclSpec().getVirtualSpecLoc())
10271 << "static" << SourceRange(D.getDeclSpec().getStorageClassSpecLoc())
10277 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) {
10280 D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec()
[all...]
H A DSemaTemplate.cpp1487 const DeclSpec &DS = D.getDeclSpec();
9940 Diag(D.getDeclSpec().getBeginLoc(),
9942 << D.getDeclSpec().getSourceRange() << D.getSourceRange();
9962 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) {
9966 } else if (D.getDeclSpec().getStorageClassSpec()
9970 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc());
9980 if (D.getDeclSpec().isInlineSpecified())
9981 Diag(D.getDeclSpec().getInlineSpecLoc(),
9985 << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc());
9986 if (D.getDeclSpec()
[all...]
H A DSemaTemplateVariadic.cpp860 const DeclSpec &DS = D.getDeclSpec();
H A DDeclSpec.cpp413 return getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static ||
H A DSemaDeclObjC.cpp5167 const DeclSpec &DS = D.getDeclSpec();
5181 if (DeclSpec::TSCS TSCS = D.getDeclSpec().getThreadStorageClassSpec())
5182 Diag(D.getDeclSpec().getThreadStorageClassSpecLoc(),
5187 DiagnoseFunctionSpecifiers(D.getDeclSpec());
H A DSemaLambda.cpp980 ParamInfo.getDeclSpec().getConstexprSpecifier(),
H A DSemaDeclAttr.cpp8444 ::checkUnusedDeclAttributes(*this, D.getDeclSpec().getAttributes());
8552 if (!PD.getDeclSpec().getAttributes().empty())
8553 ProcessDeclAttributeList(S, D, PD.getDeclSpec().getAttributes());
H A DSemaExprCXX.cpp1780 if (D.getDeclSpec().hasAutoTypeSpec())
H A DSemaOpenMP.cpp6645 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr;
6647 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Consteval;
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DDeclSpec.h1908 /// getDeclSpec - Return the declaration-specifier that this declarator was
1910 const DeclSpec &getDeclSpec() const { return DS; } function in class:clang::Declarator
2118 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef)
2121 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern &&
2353 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef)
2528 if (!getAttributes().empty() || getDeclSpec().hasAttributes())
2590 !getDeclSpec().isFriendSpecified();
/netbsd-current/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseDeclCXX.cpp2361 DeclaratorInfo.getDeclSpec().getFriendSpecLoc());
2389 DeclaratorInfo.getDeclSpec().getFriendSpecLoc());
2835 } else if (DeclaratorInfo.getDeclSpec().getStorageClassSpec() !=
2837 DeclaratorInfo.getDeclSpec().getStorageClassSpec() !=
2890 DeclaratorInfo.getDeclSpec().getStorageClassSpec() ==
2946 DeclaratorInfo.getDeclSpec().getStorageClassSpec() !=
3887 InitCXXThisScopeForDeclaratorIfRelevant(D, D.getDeclSpec(), ThisScope);
3909 D.getDeclSpec().getTypeSpecType() == TST_auto) {
H A DParseDecl.cpp4318 FD.D.getDeclSpec().getSourceRange().getBegin(),
5765 if (D.getDeclSpec().isTypeSpecPipe() && !isPipeDeclerator(D)) {
5985 D.getDeclSpec().getTypeSpecType() != TST_auto)) {
6008 if (D.getDeclSpec().hasTypeSpecifier()) {
6151 << (D.getDeclSpec().isEmpty() ? SourceRange()
6152 : D.getDeclSpec().getSourceRange());
6160 << (D.getDeclSpec().isEmpty() ? SourceRange()
6161 : D.getDeclSpec().getSourceRange());
6435 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef &&
6437 ? !D.getDeclSpec()
[all...]
H A DParseCXXInlineMethods.cpp38 if (D.getDeclSpec().isFriendSpecified())
112 !D.getDeclSpec().hasConstexprSpecifier() &&
H A DParser.cpp1179 if (getLangOpts().ImplicitInt && D.getDeclSpec().isEmpty()) {
1187 D.SetRangeBegin(D.getDeclSpec().getSourceRange().getBegin());
H A DParseObjc.cpp1230 attrs.getPool().takeAllFrom(D.getDeclSpec().getAttributePool());
1980 getCurScope(), FD.D.getDeclSpec().getSourceRange().getBegin(), FD.D,
H A DParseExprCXX.cpp3235 D.SetSourceRange(D.getDeclSpec().getSourceRange());

Completed in 619 milliseconds