Home
last modified time | relevance | path

Searched refs:getDeclSpec (Results 1 – 17 of 17) sorted by relevance

/freebsd-9-stable/contrib/llvm/tools/clang/lib/Parse/
DRAIIObjectsForParser.h202 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()
DParseCXXInlineMethods.cpp50 if (D.getDeclSpec().isFriendSpecified()) in ParseCXXInlineMethodDef()
59 bool TypeSpecContainsAuto = D.getDeclSpec().containsPlaceholderType(); in ParseCXXInlineMethodDef()
118 !D.getDeclSpec().isConstexprSpecified() && in ParseCXXInlineMethodDef()
181 if (D.getDeclSpec().isFriendSpecified()) { in ParseCXXInlineMethodDef()
DParser.cpp955 if (!D.isFunctionDeclarator() || !D.getDeclSpec().containsPlaceholderType()) in isFunctionDeclaratorRequiringReturnTypeDeduction()
996 if (getLangOpts().ImplicitInt && D.getDeclSpec().isEmpty()) { in ParseFunctionDefinition()
1002 D.SetRangeBegin(D.getDeclSpec().getSourceRange().getBegin()); in ParseFunctionDefinition()
1045 !D.getDeclSpec().isConstexprSpecified() && in ParseFunctionDefinition()
DParseDecl.cpp1846 bool TypeContainsAuto = D.getDeclSpec().containsPlaceholderType(); in ParseDeclarationAfterDeclaratorAndAttributes()
3400 FD.D.getDeclSpec().getSourceRange().getBegin(), in ParseStructUnionBody()
4820 if (D.getDeclSpec().hasTypeSpecifier()) in ParseDirectDeclarator()
4903 << D.getDeclSpec().getSourceRange(); in ParseDirectDeclarator()
5195 ? !D.getDeclSpec().isFriendSpecified() in ParseFunctionDeclarator()
5202 (D.getDeclSpec().isConstexprSpecified() && in ParseFunctionDeclarator()
5223 if (D.getDeclSpec().getTypeSpecType() == TST_auto) in ParseFunctionDeclarator()
5224 StartLoc = D.getDeclSpec().getTypeSpecTypeLoc(); in ParseFunctionDeclarator()
DParseObjc.cpp877 attrs.getPool().takeAllFrom(D.getDeclSpec().getAttributePool()); in takeDeclAttributes()
880 takeDeclAttributes(attrs, D.getDeclSpec().getAttributes().getList()); in takeDeclAttributes()
1357 FD.D.getDeclSpec().getSourceRange().getBegin(), in ParseObjCClassInstanceVariables()
DParseDeclCXX.cpp2267 DeclaratorInfo.getDeclSpec().getStorageClassSpec() in ParseCXXClassMemberDeclaration()
2316 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration()
2365 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration()
DParseExprCXX.cpp2627 D.SetSourceRange(D.getDeclSpec().getSourceRange()); in ParseExpressionListOrTypeId()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaDecl.cpp4212 Diag(D.getDeclSpec().getLocStart(), in HandleDeclarator()
4214 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); in HandleDeclarator()
4233 bool EnteringContext = !D.getDeclSpec().isFriendSpecified(); in HandleDeclarator()
4257 } else if (!D.getDeclSpec().isFriendSpecified()) { in HandleDeclarator()
4280 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in HandleDeclarator()
4305 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in HandleDeclarator()
4308 (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern || in HandleDeclarator()
4314 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_static) in HandleDeclarator()
4369 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef) in HandleDeclarator()
4380 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in HandleDeclarator()
[all …]
DSemaType.cpp51 D.getDeclSpec().hasTypeSpecifier()) in isOmittedBlockReturnType()
221 return const_cast<DeclSpec&>(declarator.getDeclSpec()); in getMutableDeclSpec()
703 const DeclSpec &DS = declarator.getDeclSpec(); in ConvertDeclSpecToType()
2068 diagnoseIgnoredQualifiers(S, D.getDeclSpec().getTypeQualifiers(), in diagnoseIgnoredFunctionQualifiers()
2070 D.getDeclSpec().getConstSpecLoc(), in diagnoseIgnoredFunctionQualifiers()
2071 D.getDeclSpec().getVolatileSpecLoc(), in diagnoseIgnoredFunctionQualifiers()
2072 D.getDeclSpec().getRestrictSpecLoc(), in diagnoseIgnoredFunctionQualifiers()
2073 D.getDeclSpec().getAtomicSpecLoc()); in diagnoseIgnoredFunctionQualifiers()
2095 ContainsPlaceholderType = D.getDeclSpec().containsPlaceholderType(); in GetDeclSpecTypeForDeclarator()
2097 if (!D.isInvalidType() && D.getDeclSpec().isTypeSpecOwned()) { in GetDeclSpecTypeForDeclarator()
[all …]
DSemaDeclCXX.cpp1860 const DeclSpec &DS = D.getDeclSpec(); in ActOnCXXMemberDeclarator()
2030 getMSPropertyAttr(D.getDeclSpec().getAttributes().getList()); in ActOnCXXMemberDeclarator()
2043 … assert(InitStyle == ICIS_NoInit || D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static); in ActOnCXXMemberDeclarator()
6061 bool isVirtual = D.getDeclSpec().isVirtualSpecified(); in CheckConstructorDeclarator()
6071 << "virtual" << SourceRange(D.getDeclSpec().getVirtualSpecLoc()) in CheckConstructorDeclarator()
6078 << "static" << SourceRange(D.getDeclSpec().getStorageClassSpecLoc()) in CheckConstructorDeclarator()
6232 << "static" << SourceRange(D.getDeclSpec().getStorageClassSpecLoc()) in CheckDestructorDeclarator()
6234 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in CheckDestructorDeclarator()
6238 if (D.getDeclSpec().hasTypeSpecifier() && !D.isInvalidType()) { in CheckDestructorDeclarator()
6248 << SourceRange(D.getDeclSpec().getTypeSpecTypeLoc()) in CheckDestructorDeclarator()
[all …]
DSemaTemplate.cpp7220 Diag(D.getDeclSpec().getLocStart(), in ActOnExplicitInstantiation()
7222 << D.getDeclSpec().getSourceRange() in ActOnExplicitInstantiation()
7243 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in ActOnExplicitInstantiation()
7247 } else if (D.getDeclSpec().getStorageClassSpec() in ActOnExplicitInstantiation()
7251 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in ActOnExplicitInstantiation()
7261 if (D.getDeclSpec().isInlineSpecified()) in ActOnExplicitInstantiation()
7262 Diag(D.getDeclSpec().getInlineSpecLoc(), in ActOnExplicitInstantiation()
7266 << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc()); in ActOnExplicitInstantiation()
7267 if (D.getDeclSpec().isConstexprSpecified() && R->isFunctionType()) in ActOnExplicitInstantiation()
7270 Diag(D.getDeclSpec().getConstexprSpecLoc(), in ActOnExplicitInstantiation()
[all …]
DSemaTemplateVariadic.cpp691 const DeclSpec &DS = D.getDeclSpec(); in containsUnexpandedParameterPacks()
DSemaDeclObjC.cpp3412 const DeclSpec &DS = D.getDeclSpec(); in ActOnObjCExceptionDecl()
3423 if (DeclSpec::TSCS TSCS = D.getDeclSpec().getThreadStorageClassSpec()) in ActOnObjCExceptionDecl()
3424 Diag(D.getDeclSpec().getThreadStorageClassSpecLoc(), in ActOnObjCExceptionDecl()
3429 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnObjCExceptionDecl()
DDeclSpec.cpp331 return getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static || in isStaticMember()
DSemaDeclAttr.cpp5001 ::checkUnusedDeclAttributes(*this, D.getDeclSpec().getAttributes().getList()); in checkUnusedDeclAttributes()
5110 if (const AttributeList *Attrs = PD.getDeclSpec().getAttributes().getList()) in ProcessDeclAttributes()
DSemaExprCXX.cpp1017 bool TypeContainsAuto = D.getDeclSpec().containsPlaceholderType(); in ActOnCXXNew()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Sema/
DDeclSpec.h1606 const DeclSpec &getDeclSpec() const { return DS; } in getDeclSpec() function
1786 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in mayBeFollowedByCXXDirectInit()
1789 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern && in mayBeFollowedByCXXDirectInit()
1983 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in isFunctionDeclarationContext()
2052 if (getAttributes() || getDeclSpec().hasAttributes()) return true; in hasAttributes()
2106 return getContext() == MemberContext && !getDeclSpec().isFriendSpecified(); in isFirstDeclarationOfMember()