/external/clang/lib/Parse/ |
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()
|
D | ParseCXXInlineMethods.cpp | 41 if (D.getDeclSpec().isFriendSpecified()) in ParseCXXInlineMethodDef() 108 !D.getDeclSpec().isConstexprSpecified() && in ParseCXXInlineMethodDef() 171 if (D.getDeclSpec().isFriendSpecified()) { in ParseCXXInlineMethodDef()
|
D | ParseDecl.cpp | 1988 bool TypeContainsAuto = D.getDeclSpec().containsPlaceholderType(); in ParseDeclarationAfterDeclaratorAndAttributes() 3630 FD.D.getDeclSpec().getSourceRange().getBegin(), in ParseStructUnionBody() 5141 D.getDeclSpec().getTypeSpecType() != TST_auto)) { in ParseDirectDeclarator() 5163 if (D.getDeclSpec().hasTypeSpecifier()) in ParseDirectDeclarator() 5268 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator() 5269 : D.getDeclSpec().getSourceRange()); in ParseDirectDeclarator() 5558 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef && in ParseFunctionDeclarator() 5560 ? !D.getDeclSpec().isFriendSpecified() in ParseFunctionDeclarator() 5567 (D.getDeclSpec().isConstexprSpecified() && in ParseFunctionDeclarator() 5609 if (D.getDeclSpec().getTypeSpecType() == TST_auto) in ParseFunctionDeclarator() [all …]
|
D | ParseDeclCXX.cpp | 2097 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer() 2121 DeclaratorInfo.getDeclSpec().getFriendSpecLoc()); in ParseCXXMemberDeclaratorBeforeInitializer() 2547 } else if (DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 2549 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 2598 DeclaratorInfo.getDeclSpec().getStorageClassSpec() == in ParseCXXClassMemberDeclaration() 2655 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration()
|
D | Parser.cpp | 971 if (getLangOpts().ImplicitInt && D.getDeclSpec().isEmpty()) { in ParseFunctionDefinition() 979 D.SetRangeBegin(D.getDeclSpec().getSourceRange().getBegin()); in ParseFunctionDefinition()
|
D | ParseObjc.cpp | 1249 attrs.getPool().takeAllFrom(D.getDeclSpec().getAttributePool()); in takeDeclAttributes() 1252 takeDeclAttributes(attrs, D.getDeclSpec().getAttributes().getList()); in takeDeclAttributes() 1960 getCurScope(), FD.D.getDeclSpec().getSourceRange().getBegin(), FD.D, in ParseObjCClassInstanceVariables()
|
D | ParseExprCXX.cpp | 2797 D.SetSourceRange(D.getDeclSpec().getSourceRange()); in ParseExpressionListOrTypeId()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 4793 Diag(D.getDeclSpec().getLocStart(), in HandleDeclarator() 4795 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); in HandleDeclarator() 4814 bool EnteringContext = !D.getDeclSpec().isFriendSpecified(); in HandleDeclarator() 4840 if (!D.getDeclSpec().isFriendSpecified()) { in HandleDeclarator() 4867 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in HandleDeclarator() 4889 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in HandleDeclarator() 4892 (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern || in HandleDeclarator() 4898 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_static) in HandleDeclarator() 4953 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef) in HandleDeclarator() 4961 if (D.getDeclSpec().isConceptSpecified()) { in HandleDeclarator() [all …]
|
D | SemaType.cpp | 50 D.getDeclSpec().hasTypeSpecifier()) in isOmittedBlockReturnType() 225 return const_cast<DeclSpec&>(declarator.getDeclSpec()); in getMutableDeclSpec() 1181 const DeclSpec &DS = declarator.getDeclSpec(); in ConvertDeclSpecToType() 2556 D.getDeclSpec().getTypeQualifiers(), in diagnoseRedundantReturnTypeQualifiers() 2558 D.getDeclSpec().getConstSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 2559 D.getDeclSpec().getVolatileSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 2560 D.getDeclSpec().getRestrictSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 2561 D.getDeclSpec().getAtomicSpecLoc()); in diagnoseRedundantReturnTypeQualifiers() 2582 if (!D.isInvalidType() && D.getDeclSpec().isTypeSpecOwned()) { in GetDeclSpecTypeForDeclarator() 2583 OwnedTagDecl = cast<TagDecl>(D.getDeclSpec().getRepAsDecl()); in GetDeclSpecTypeForDeclarator() [all …]
|
D | SemaDeclCXX.cpp | 2006 const DeclSpec &DS = D.getDeclSpec(); in ActOnCXXMemberDeclarator() 2102 if (D.getDeclSpec().getTypeQualifiers() & DeclSpec::TQ_const) in ActOnCXXMemberDeclarator() 2182 getMSPropertyAttr(D.getDeclSpec().getAttributes().getList()); in ActOnCXXMemberDeclarator() 6645 bool isVirtual = D.getDeclSpec().isVirtualSpecified(); in CheckConstructorDeclarator() 6655 << "virtual" << SourceRange(D.getDeclSpec().getVirtualSpecLoc()) in CheckConstructorDeclarator() 6662 << "static" << SourceRange(D.getDeclSpec().getStorageClassSpecLoc()) in CheckConstructorDeclarator() 6668 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckConstructorDeclarator() 6671 D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec().getVolatileSpecLoc(), in CheckConstructorDeclarator() 6672 D.getDeclSpec().getRestrictSpecLoc(), in CheckConstructorDeclarator() 6673 D.getDeclSpec().getAtomicSpecLoc()); in CheckConstructorDeclarator() [all …]
|
D | SemaTemplate.cpp | 7617 Diag(D.getDeclSpec().getLocStart(), in ActOnExplicitInstantiation() 7619 << D.getDeclSpec().getSourceRange() in ActOnExplicitInstantiation() 7640 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in ActOnExplicitInstantiation() 7644 } else if (D.getDeclSpec().getStorageClassSpec() in ActOnExplicitInstantiation() 7648 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in ActOnExplicitInstantiation() 7658 if (D.getDeclSpec().isInlineSpecified()) in ActOnExplicitInstantiation() 7659 Diag(D.getDeclSpec().getInlineSpecLoc(), in ActOnExplicitInstantiation() 7663 << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc()); in ActOnExplicitInstantiation() 7664 if (D.getDeclSpec().isConstexprSpecified() && R->isFunctionType()) in ActOnExplicitInstantiation() 7667 Diag(D.getDeclSpec().getConstexprSpecLoc(), in ActOnExplicitInstantiation() [all …]
|
D | SemaTemplateVariadic.cpp | 700 const DeclSpec &DS = D.getDeclSpec(); in containsUnexpandedParameterPacks()
|
D | SemaDeclObjC.cpp | 4455 const DeclSpec &DS = D.getDeclSpec(); in ActOnObjCExceptionDecl() 4466 if (DeclSpec::TSCS TSCS = D.getDeclSpec().getThreadStorageClassSpec()) in ActOnObjCExceptionDecl() 4467 Diag(D.getDeclSpec().getThreadStorageClassSpecLoc(), in ActOnObjCExceptionDecl() 4472 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnObjCExceptionDecl()
|
D | DeclSpec.cpp | 339 return getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static || in isStaticMember()
|
D | SemaDeclAttr.cpp | 5557 ::checkUnusedDeclAttributes(*this, D.getDeclSpec().getAttributes().getList()); in checkUnusedDeclAttributes() 5666 if (const AttributeList *Attrs = PD.getDeclSpec().getAttributes().getList()) in ProcessDeclAttributes()
|
D | SemaExprCXX.cpp | 1170 bool TypeContainsAuto = D.getDeclSpec().containsPlaceholderType(); in ActOnCXXNew()
|
/external/clang/include/clang/Sema/ |
D | DeclSpec.h | 1683 const DeclSpec &getDeclSpec() const { return DS; } in getDeclSpec() function 1865 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in mayBeFollowedByCXXDirectInit() 1868 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern && in mayBeFollowedByCXXDirectInit() 2070 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in isFunctionDeclarationContext() 2139 if (getAttributes() || getDeclSpec().hasAttributes()) return true; in hasAttributes() 2199 return getContext() == MemberContext && !getDeclSpec().isFriendSpecified(); in isFirstDeclarationOfMember()
|