/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 | 44 if (D.getDeclSpec().isFriendSpecified()) in ParseCXXInlineMethodDef() 53 bool TypeSpecContainsAuto = D.getDeclSpec().containsPlaceholderType(); in ParseCXXInlineMethodDef() 106 !D.getDeclSpec().isConstexprSpecified() && in ParseCXXInlineMethodDef() 169 if (D.getDeclSpec().isFriendSpecified()) { in ParseCXXInlineMethodDef()
|
D | ParseDecl.cpp | 1801 bool TypeContainsAuto = D.getDeclSpec().containsPlaceholderType(); in ParseDeclarationAfterDeclaratorAndAttributes() 3350 FD.D.getDeclSpec().getSourceRange().getBegin(), in ParseStructUnionBody() 4775 if (D.getDeclSpec().hasTypeSpecifier()) in ParseDirectDeclarator() 4862 << (D.getDeclSpec().isEmpty() ? SourceRange() in ParseDirectDeclarator() 4863 : D.getDeclSpec().getSourceRange()); in ParseDirectDeclarator() 5157 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef && in ParseFunctionDeclarator() 5159 ? !D.getDeclSpec().isFriendSpecified() in ParseFunctionDeclarator() 5166 (D.getDeclSpec().isConstexprSpecified() && in ParseFunctionDeclarator() 5187 if (D.getDeclSpec().getTypeSpecType() == TST_auto) in ParseFunctionDeclarator() 5188 StartLoc = D.getDeclSpec().getTypeSpecTypeLoc(); in ParseFunctionDeclarator() [all …]
|
D | ParseObjc.cpp | 881 attrs.getPool().takeAllFrom(D.getDeclSpec().getAttributePool()); in takeDeclAttributes() 884 takeDeclAttributes(attrs, D.getDeclSpec().getAttributes().getList()); in takeDeclAttributes() 1358 FD.D.getDeclSpec().getSourceRange().getBegin(), in ParseObjCClassInstanceVariables()
|
D | Parser.cpp | 932 if (getLangOpts().ImplicitInt && D.getDeclSpec().isEmpty()) { in ParseFunctionDefinition() 940 D.SetRangeBegin(D.getDeclSpec().getSourceRange().getBegin()); in ParseFunctionDefinition()
|
D | ParseDeclCXX.cpp | 2288 DeclaratorInfo.getDeclSpec().getStorageClassSpec() in ParseCXXClassMemberDeclaration() 2333 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration() 2382 DeclaratorInfo.getDeclSpec().getStorageClassSpec() != in ParseCXXClassMemberDeclaration()
|
D | ParseExprCXX.cpp | 2684 D.SetSourceRange(D.getDeclSpec().getSourceRange()); in ParseExpressionListOrTypeId()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 4375 Diag(D.getDeclSpec().getLocStart(), in HandleDeclarator() 4377 << D.getDeclSpec().getSourceRange() << D.getSourceRange(); in HandleDeclarator() 4396 bool EnteringContext = !D.getDeclSpec().isFriendSpecified(); in HandleDeclarator() 4420 } else if (!D.getDeclSpec().isFriendSpecified()) { in HandleDeclarator() 4443 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in HandleDeclarator() 4468 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in HandleDeclarator() 4471 (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern || in HandleDeclarator() 4477 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_static) in HandleDeclarator() 4532 D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef) in HandleDeclarator() 4543 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in HandleDeclarator() [all …]
|
D | SemaType.cpp | 49 D.getDeclSpec().hasTypeSpecifier()) in isOmittedBlockReturnType() 220 return const_cast<DeclSpec&>(declarator.getDeclSpec()); in getMutableDeclSpec() 702 const DeclSpec &DS = declarator.getDeclSpec(); in ConvertDeclSpecToType() 2100 D.getDeclSpec().getTypeQualifiers(), in diagnoseRedundantReturnTypeQualifiers() 2102 D.getDeclSpec().getConstSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 2103 D.getDeclSpec().getVolatileSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 2104 D.getDeclSpec().getRestrictSpecLoc(), in diagnoseRedundantReturnTypeQualifiers() 2105 D.getDeclSpec().getAtomicSpecLoc()); in diagnoseRedundantReturnTypeQualifiers() 2127 ContainsPlaceholderType = D.getDeclSpec().containsPlaceholderType(); in GetDeclSpecTypeForDeclarator() 2129 if (!D.isInvalidType() && D.getDeclSpec().isTypeSpecOwned()) { in GetDeclSpecTypeForDeclarator() [all …]
|
D | SemaDeclCXX.cpp | 1934 const DeclSpec &DS = D.getDeclSpec(); in ActOnCXXMemberDeclarator() 2030 if (D.getDeclSpec().getTypeQualifiers() & DeclSpec::TQ_const) in ActOnCXXMemberDeclarator() 2110 getMSPropertyAttr(D.getDeclSpec().getAttributes().getList()); in ActOnCXXMemberDeclarator() 2123 … assert(InitStyle == ICIS_NoInit || D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static); in ActOnCXXMemberDeclarator() 6259 bool isVirtual = D.getDeclSpec().isVirtualSpecified(); in CheckConstructorDeclarator() 6269 << "virtual" << SourceRange(D.getDeclSpec().getVirtualSpecLoc()) in CheckConstructorDeclarator() 6276 << "static" << SourceRange(D.getDeclSpec().getStorageClassSpecLoc()) in CheckConstructorDeclarator() 6282 if (unsigned TypeQuals = D.getDeclSpec().getTypeQualifiers()) { in CheckConstructorDeclarator() 6285 D.getDeclSpec().getConstSpecLoc(), D.getDeclSpec().getVolatileSpecLoc(), in CheckConstructorDeclarator() 6286 D.getDeclSpec().getRestrictSpecLoc(), in CheckConstructorDeclarator() [all …]
|
D | SemaTemplate.cpp | 7364 Diag(D.getDeclSpec().getLocStart(), in ActOnExplicitInstantiation() 7366 << D.getDeclSpec().getSourceRange() in ActOnExplicitInstantiation() 7387 if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) { in ActOnExplicitInstantiation() 7391 } else if (D.getDeclSpec().getStorageClassSpec() in ActOnExplicitInstantiation() 7395 << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc()); in ActOnExplicitInstantiation() 7405 if (D.getDeclSpec().isInlineSpecified()) in ActOnExplicitInstantiation() 7406 Diag(D.getDeclSpec().getInlineSpecLoc(), in ActOnExplicitInstantiation() 7410 << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc()); in ActOnExplicitInstantiation() 7411 if (D.getDeclSpec().isConstexprSpecified() && R->isFunctionType()) in ActOnExplicitInstantiation() 7414 Diag(D.getDeclSpec().getConstexprSpecLoc(), in ActOnExplicitInstantiation() [all …]
|
D | SemaTemplateVariadic.cpp | 691 const DeclSpec &DS = D.getDeclSpec(); in containsUnexpandedParameterPacks()
|
D | SemaDeclObjC.cpp | 3367 const DeclSpec &DS = D.getDeclSpec(); in ActOnObjCExceptionDecl() 3378 if (DeclSpec::TSCS TSCS = D.getDeclSpec().getThreadStorageClassSpec()) in ActOnObjCExceptionDecl() 3379 Diag(D.getDeclSpec().getThreadStorageClassSpecLoc(), in ActOnObjCExceptionDecl() 3384 DiagnoseFunctionSpecifiers(D.getDeclSpec()); in ActOnObjCExceptionDecl()
|
D | DeclSpec.cpp | 323 return getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static || in isStaticMember()
|
D | SemaDeclAttr.cpp | 4609 ::checkUnusedDeclAttributes(*this, D.getDeclSpec().getAttributes().getList()); in checkUnusedDeclAttributes() 4719 if (const AttributeList *Attrs = PD.getDeclSpec().getAttributes().getList()) in ProcessDeclAttributes()
|
D | SemaExprCXX.cpp | 1056 bool TypeContainsAuto = D.getDeclSpec().containsPlaceholderType(); in ActOnCXXNew()
|
/external/clang/include/clang/Sema/ |
D | DeclSpec.h | 1602 const DeclSpec &getDeclSpec() const { return DS; } in getDeclSpec() function 1782 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in mayBeFollowedByCXXDirectInit() 1785 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_extern && in mayBeFollowedByCXXDirectInit() 1979 if (getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) in isFunctionDeclarationContext() 2048 if (getAttributes() || getDeclSpec().hasAttributes()) return true; in hasAttributes() 2102 return getContext() == MemberContext && !getDeclSpec().isFriendSpecified(); in isFirstDeclarationOfMember()
|