Searched refs:getDeclSpec (Results 1 - 17 of 17) sorted by relevance
/external/clang/lib/Parse/ |
H A D | RAIIObjectsForParser.h | 202 const ParsingDeclSpec &getDeclSpec() const { function in class:clang::ParsingDeclarator 203 return static_cast<const ParsingDeclSpec&>(Declarator::getDeclSpec()); 207 return const_cast<ParsingDeclSpec&>(getDeclSpec()); 229 const ParsingDeclSpec &getDeclSpec() const { function in class:clang::ParsingFieldDeclarator 230 return static_cast<const ParsingDeclSpec&>(D.getDeclSpec()); 234 return const_cast<ParsingDeclSpec&>(getDeclSpec());
|
H A D | ParseCXXInlineMethods.cpp | 44 if (D.getDeclSpec().isFriendSpecified()) 53 bool TypeSpecContainsAuto = D.getDeclSpec().containsPlaceholderType(); 106 !D.getDeclSpec().isConstexprSpecified() && 169 if (D.getDeclSpec().isFriendSpecified()) {
|
H A D | ParseDecl.cpp | 1801 bool TypeContainsAuto = D.getDeclSpec().containsPlaceholderType(); 3350 FD.D.getDeclSpec().getSourceRange().getBegin(), 4775 if (D.getDeclSpec().hasTypeSpecifier()) 4862 << (D.getDeclSpec().isEmpty() ? SourceRange() 4863 : D.getDeclSpec().getSourceRange()); 5157 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef && 5159 ? !D.getDeclSpec().isFriendSpecified() 5166 (D.getDeclSpec().isConstexprSpecified() && 5187 if (D.getDeclSpec().getTypeSpecType() == TST_auto) 5188 StartLoc = D.getDeclSpec() [all...] |
H A D | ParseObjc.cpp | 881 attrs.getPool().takeAllFrom(D.getDeclSpec().getAttributePool()); 884 takeDeclAttributes(attrs, D.getDeclSpec().getAttributes().getList()); 1358 FD.D.getDeclSpec().getSourceRange().getBegin(),
|
H A D | Parser.cpp | 932 if (getLangOpts().ImplicitInt && D.getDeclSpec().isEmpty()) { 940 D.SetRangeBegin(D.getDeclSpec().getSourceRange().getBegin());
|
H A D | ParseDeclCXX.cpp | 2288 DeclaratorInfo.getDeclSpec().getStorageClassSpec() 2333 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != 2382 DeclaratorInfo.getDeclSpec().getStorageClassSpec() !=
|
H A D | ParseExprCXX.cpp | 2684 D.SetSourceRange(D.getDeclSpec().getSourceRange());
|
/external/clang/lib/Sema/ |
H A D | SemaType.cpp | 49 D.getDeclSpec().hasTypeSpecifier()) 220 return const_cast<DeclSpec&>(declarator.getDeclSpec()); 702 const DeclSpec &DS = declarator.getDeclSpec(); 2100 D.getDeclSpec().getTypeQualifiers(), 2102 D.getDeclSpec().getConstSpecLoc(), 2103 D.getDeclSpec().getVolatileSpecLoc(), 2104 D.getDeclSpec().getRestrictSpecLoc(), 2105 D.getDeclSpec().getAtomicSpecLoc()); 2127 ContainsPlaceholderType = D.getDeclSpec().containsPlaceholderType(); 2129 if (!D.isInvalidType() && D.getDeclSpec() [all...] |
H A D | SemaDecl.cpp | 4375 Diag(D.getDeclSpec().getLocStart(), 4377 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); 4396 bool EnteringContext = !D.getDeclSpec().isFriendSpecified(); 4420 } else if (!D.getDeclSpec().isFriendSpecified()) { 4443 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) 4468 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) 4471 (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern || 4477 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_static) 4532 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef) 4543 if (D.getDeclSpec() [all...] |
H A D | SemaDeclCXX.cpp | 1934 const DeclSpec &DS = D.getDeclSpec(); 2030 if (D.getDeclSpec().getTypeQualifiers() & DeclSpec::TQ_const) 2110 getMSPropertyAttr(D.getDeclSpec().getAttributes().getList()); 2123 assert(InitStyle == ICIS_NoInit || D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static); 6259 bool isVirtual = D.getDeclSpec().isVirtualSpecified(); 6269 << "virtual" << SourceRange(D.getDeclSpec().getVirtualSpecLoc()) 6276 << "static" << SourceRange(D.getDeclSpec().getStorageClassSpecLoc()) 6282 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { 6285 D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec() [all...] |
H A D | SemaTemplate.cpp | 7364 Diag(D.getDeclSpec().getLocStart(), 7366 << D.getDeclSpec().getSourceRange() 7387 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { 7391 } else if (D.getDeclSpec().getStorageClassSpec() 7395 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); 7405 if (D.getDeclSpec().isInlineSpecified()) 7406 Diag(D.getDeclSpec().getInlineSpecLoc(), 7410 << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc()); 7411 if (D.getDeclSpec().isConstexprSpecified() && R->isFunctionType()) 7414 Diag(D.getDeclSpec() [all...] |
H A D | DeclSpec.cpp | 323 return getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static ||
|
H A D | SemaDeclObjC.cpp | 3367 const DeclSpec &DS = D.getDeclSpec(); 3378 if (DeclSpec::TSCS TSCS = D.getDeclSpec().getThreadStorageClassSpec()) 3379 Diag(D.getDeclSpec().getThreadStorageClassSpecLoc(), 3384 DiagnoseFunctionSpecifiers(D.getDeclSpec());
|
H A D | SemaTemplateVariadic.cpp | 691 const DeclSpec &DS = D.getDeclSpec();
|
H A D | SemaDeclAttr.cpp | 4609 ::checkUnusedDeclAttributes(*this, D.getDeclSpec().getAttributes().getList()); 4719 if (const AttributeList *Attrs = PD.getDeclSpec().getAttributes().getList())
|
H A D | SemaExprCXX.cpp | 1056 bool TypeContainsAuto = D.getDeclSpec().containsPlaceholderType();
|
/external/clang/include/clang/Sema/ |
H A D | DeclSpec.h | 1600 /// getDeclSpec - Return the declaration-specifier that this declarator was 1602 const DeclSpec &getDeclSpec() const { return DS; } function in class:clang::Declarator 1782 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) 1785 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern && 1979 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) 2048 if (getAttributes() || getDeclSpec().hasAttributes()) return true; 2102 return getContext() == MemberContext && !getDeclSpec().isFriendSpecified();
|
Completed in 281 milliseconds