Searched refs:getDeclSpec (Results 1 – 16 of 16) sorted by relevance
/external/clang/lib/Parse/ |
D | RAIIObjectsForParser.h | 202 const ParsingDeclSpec &getDeclSpec() const { in getDeclSpec() function 203 return static_cast<const ParsingDeclSpec&>(Declarator::getDeclSpec()); in getDeclSpec() 207 return const_cast<ParsingDeclSpec&>(getDeclSpec()); in getMutableDeclSpec() 229 const ParsingDeclSpec &getDeclSpec() const { in getDeclSpec() function 230 return static_cast<const ParsingDeclSpec&>(D.getDeclSpec()); in getDeclSpec() 234 return const_cast<ParsingDeclSpec&>(getDeclSpec()); in getMutableDeclSpec()
|
D | ParseCXXInlineMethods.cpp | 50 if (D.getDeclSpec().isFriendSpecified()) in ParseCXXInlineMethodDef() 61 = D.getDeclSpec().getTypeSpecType() == DeclSpec::TST_auto; in ParseCXXInlineMethodDef() 191 if (D.getDeclSpec().isFriendSpecified()) { in ParseCXXInlineMethodDef()
|
D | ParseDecl.cpp | 1695 D.getDeclSpec().getTypeSpecType() == DeclSpec::TST_auto; in ParseDeclarationAfterDeclaratorAndAttributes() 3100 FD.D.getDeclSpec().getSourceRange().getBegin(), in ParseStructUnionBody() 4485 if (D.getDeclSpec().hasTypeSpecifier()) in ParseDirectDeclarator() 4557 << D.getDeclSpec().getSourceRange(); in ParseDirectDeclarator() 4840 ? !D.getDeclSpec().isFriendSpecified() in ParseFunctionDeclarator() 4847 (D.getDeclSpec().isConstexprSpecified() in ParseFunctionDeclarator() 4867 if (D.getDeclSpec().getTypeSpecType() == TST_auto) in ParseFunctionDeclarator() 4868 StartLoc = D.getDeclSpec().getTypeSpecTypeLoc(); in ParseFunctionDeclarator()
|
D | Parser.cpp | 915 if (getLangOpts().ImplicitInt && D.getDeclSpec().isEmpty()) { in ParseFunctionDefinition() 921 D.SetRangeBegin(D.getDeclSpec().getSourceRange().getBegin()); in ParseFunctionDefinition()
|
D | ParseObjc.cpp | 861 attrs.getPool().takeAllFrom(D.getDeclSpec().getAttributePool()); in takeDeclAttributes() 864 takeDeclAttributes(attrs, D.getDeclSpec().getAttributes().getList()); in takeDeclAttributes() 1319 FD.D.getDeclSpec().getSourceRange().getBegin(), in ParseObjCClassInstanceVariables()
|
D | ParseDeclCXX.cpp | 2172 DeclaratorInfo.getDeclSpec().getStorageClassSpec() in ParseCXXClassMemberDeclaration() 2224 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 2267 DeclaratorInfo.getDeclSpec().getStorageClassSpec() in ParseCXXClassMemberDeclaration()
|
D | ParseExprCXX.cpp | 2440 D.SetSourceRange(D.getDeclSpec().getSourceRange()); in ParseExpressionListOrTypeId()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 4013 Diag(D.getDeclSpec().getLocStart(), in HandleDeclarator() 4015 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); in HandleDeclarator() 4034 bool EnteringContext = !D.getDeclSpec().isFriendSpecified(); in HandleDeclarator() 4058 } else if (!D.getDeclSpec().isFriendSpecified()) { in HandleDeclarator() 4081 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in HandleDeclarator() 4101 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in HandleDeclarator() 4105 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_static) in HandleDeclarator() 4107 } else if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern) in HandleDeclarator() 4110 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_static) in HandleDeclarator() 4165 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef) in HandleDeclarator() [all …]
|
D | SemaType.cpp | 41 D.getDeclSpec().hasTypeSpecifier()) in isOmittedBlockReturnType() 208 return const_cast<DeclSpec&>(declarator.getDeclSpec()); in getMutableDeclSpec() 707 const DeclSpec &DS = declarator.getDeclSpec(); in ConvertDeclSpecToType() 1939 if (!D.isInvalidType() && D.getDeclSpec().isTypeSpecOwned()) { in GetDeclSpecTypeForDeclarator() 1940 OwnedTagDecl = cast<TagDecl>(D.getDeclSpec().getRepAsDecl()); in GetDeclSpecTypeForDeclarator() 1952 if (AttributeList *attrs = D.getDeclSpec().getAttributes().getList()) in GetDeclSpecTypeForDeclarator() 1971 if (D.getDeclSpec().getTypeSpecType() == DeclSpec::TST_auto && in GetDeclSpecTypeForDeclarator() 1986 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static) in GetDeclSpecTypeForDeclarator() 2027 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in GetDeclSpecTypeForDeclarator() 2054 SemaRef.Diag(D.getDeclSpec().getTypeSpecTypeLoc(), in GetDeclSpecTypeForDeclarator() [all …]
|
D | SemaTemplate.cpp | 6652 Diag(D.getDeclSpec().getLocStart(), in ActOnExplicitInstantiation() 6654 << D.getDeclSpec().getSourceRange() in ActOnExplicitInstantiation() 6675 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in ActOnExplicitInstantiation() 6679 } else if (D.getDeclSpec().getStorageClassSpec() in ActOnExplicitInstantiation() 6683 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in ActOnExplicitInstantiation() 6693 if (D.getDeclSpec().isInlineSpecified()) in ActOnExplicitInstantiation() 6694 Diag(D.getDeclSpec().getInlineSpecLoc(), in ActOnExplicitInstantiation() 6698 << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc()); in ActOnExplicitInstantiation() 6699 if (D.getDeclSpec().isConstexprSpecified()) in ActOnExplicitInstantiation() 6702 Diag(D.getDeclSpec().getConstexprSpecLoc(), in ActOnExplicitInstantiation() [all …]
|
D | SemaDeclCXX.cpp | 1601 const DeclSpec &DS = D.getDeclSpec(); in ActOnCXXMemberDeclarator() 1780 … assert(InitStyle == ICIS_NoInit || D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static); in ActOnCXXMemberDeclarator() 5624 bool isVirtual = D.getDeclSpec().isVirtualSpecified(); in CheckConstructorDeclarator() 5634 << "virtual" << SourceRange(D.getDeclSpec().getVirtualSpecLoc()) in CheckConstructorDeclarator() 5641 << "static" << SourceRange(D.getDeclSpec().getStorageClassSpecLoc()) in CheckConstructorDeclarator() 5791 << "static" << SourceRange(D.getDeclSpec().getStorageClassSpecLoc()) in CheckDestructorDeclarator() 5793 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in CheckDestructorDeclarator() 5797 if (D.getDeclSpec().hasTypeSpecifier() && !D.isInvalidType()) { in CheckDestructorDeclarator() 5807 << SourceRange(D.getDeclSpec().getTypeSpecTypeLoc()) in CheckDestructorDeclarator() 5879 << "static" << SourceRange(D.getDeclSpec().getStorageClassSpecLoc()) in CheckConversionDeclarator() [all …]
|
D | SemaDeclObjC.cpp | 3175 const DeclSpec &DS = D.getDeclSpec(); in ActOnObjCExceptionDecl() 3186 if (D.getDeclSpec().isThreadSpecified()) in ActOnObjCExceptionDecl() 3187 Diag(D.getDeclSpec().getThreadSpecLoc(), diag::err_invalid_thread); in ActOnObjCExceptionDecl() 3190 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnObjCExceptionDecl()
|
D | SemaTemplateVariadic.cpp | 690 const DeclSpec &DS = D.getDeclSpec(); in containsUnexpandedParameterPacks()
|
D | SemaDeclAttr.cpp | 5066 ::checkUnusedDeclAttributes(*this, D.getDeclSpec().getAttributes().getList()); in checkUnusedDeclAttributes() 5178 if (const AttributeList *Attrs = PD.getDeclSpec().getAttributes().getList()) in ProcessDeclAttributes()
|
D | SemaExprCXX.cpp | 941 bool TypeContainsAuto = D.getDeclSpec().getTypeSpecType() == DeclSpec::TST_auto; in ActOnCXXNew()
|
/external/clang/include/clang/Sema/ |
D | DeclSpec.h | 1562 const DeclSpec &getDeclSpec() const { return DS; } in getDeclSpec() function 1704 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in mayBeFollowedByCXXDirectInit() 1707 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern && in mayBeFollowedByCXXDirectInit() 1899 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in isFunctionDeclarationContext() 1966 if (getAttributes() || getDeclSpec().hasAttributes()) return true; in hasAttributes()
|