Lines Matching refs:DeclSpecContext

47   DeclSpecContext DSC = getDeclSpecContextFromDeclaratorContext(Context);  in ParseTypeName()
48 if (DSC == DeclSpecContext::DSC_normal) in ParseTypeName()
49 DSC = DeclSpecContext::DSC_type_specifier; in ParseTypeName()
1850 DeclSpecContext DSContext = getDeclSpecContextFromDeclaratorContext(Context); in ParseSimpleDeclaration()
2567 DeclSpecContext DSC) { in ParseSpecifierQualifierList()
2606 if (DS.hasConstexprSpecifier() && DSC != DeclSpecContext::DSC_condition) { in ParseSpecifierQualifierList()
2648 AccessSpecifier AS, DeclSpecContext DSC, in ParseImplicitInt()
2701 DSC == DeclSpecContext::DSC_template_type_arg)) { in ParseImplicitInt()
2756 DeclSpecContext::DSC_normal); in ParseImplicitInt()
2760 DeclSpecContext::DSC_normal, Attrs); in ParseImplicitInt()
2767 if (!isTypeSpecifier(DSC) && (!SS || DSC == DeclSpecContext::DSC_top_level || in ParseImplicitInt()
2768 DSC == DeclSpecContext::DSC_class)) { in ParseImplicitInt()
2792 if (DSC == DeclSpecContext::DSC_class || in ParseImplicitInt()
2793 (DSC == DeclSpecContext::DSC_top_level && SS)) { in ParseImplicitInt()
2877 Parser::DeclSpecContext
2880 return DeclSpecContext::DSC_class; in getDeclSpecContextFromDeclaratorContext()
2882 return DeclSpecContext::DSC_top_level; in getDeclSpecContextFromDeclaratorContext()
2884 return DeclSpecContext::DSC_template_param; in getDeclSpecContextFromDeclaratorContext()
2887 return DeclSpecContext::DSC_template_type_arg; in getDeclSpecContextFromDeclaratorContext()
2890 return DeclSpecContext::DSC_trailing; in getDeclSpecContextFromDeclaratorContext()
2893 return DeclSpecContext::DSC_alias_declaration; in getDeclSpecContextFromDeclaratorContext()
2895 return DeclSpecContext::DSC_association; in getDeclSpecContextFromDeclaratorContext()
2896 return DeclSpecContext::DSC_normal; in getDeclSpecContextFromDeclaratorContext()
2992 DeclSpecContext DSContext, in DiagnoseMissingSemiAfterTagDefinition()
2996 bool EnteringContext = (DSContext == DeclSpecContext::DSC_class || in DiagnoseMissingSemiAfterTagDefinition()
2997 DSContext == DeclSpecContext::DSC_top_level); in DiagnoseMissingSemiAfterTagDefinition()
3135 DeclSpecContext DSContext, in ParseDeclarationSpecifiers()
3145 bool EnteringContext = (DSContext == DeclSpecContext::DSC_class || in ParseDeclarationSpecifiers()
3146 DSContext == DeclSpecContext::DSC_top_level); in ParseDeclarationSpecifiers()
3259 = DSContext == DeclSpecContext::DSC_top_level || in ParseDeclarationSpecifiers()
3260 (DSContext == DeclSpecContext::DSC_class && DS.isFriendSpecified()); in ParseDeclarationSpecifiers()
3272 CCC = DSContext == DeclSpecContext::DSC_class ? Sema::PCC_MemberTemplate in ParseDeclarationSpecifiers()
3274 else if (DSContext == DeclSpecContext::DSC_class) in ParseDeclarationSpecifiers()
3328 if ((DSContext == DeclSpecContext::DSC_top_level || in ParseDeclarationSpecifiers()
3329 DSContext == DeclSpecContext::DSC_class) && in ParseDeclarationSpecifiers()
3377 if ((DSContext == DeclSpecContext::DSC_top_level || in ParseDeclarationSpecifiers()
3378 DSContext == DeclSpecContext::DSC_class) && in ParseDeclarationSpecifiers()
3540 if (DSContext == DeclSpecContext::DSC_objc_method_result && in ParseDeclarationSpecifiers()
3556 if (getLangOpts().CPlusPlus && DSContext == DeclSpecContext::DSC_class && in ParseDeclarationSpecifiers()
3587 (DSContext == DeclSpecContext::DSC_class || in ParseDeclarationSpecifiers()
3588 DSContext == DeclSpecContext::DSC_top_level) && in ParseDeclarationSpecifiers()
3689 if (getLangOpts().CPlusPlus && DSContext == DeclSpecContext::DSC_class && in ParseDeclarationSpecifiers()
3904 if (DSContext == DeclSpecContext::DSC_class) in ParseDeclarationSpecifiers()
4578 AccessSpecifier AS, DeclSpecContext DSC) { in ParseEnumSpecifier()
4730 ParseSpecifierQualifierList(DS, AS, DeclSpecContext::DSC_type_specifier); in ParseEnumSpecifier()
4876 DSC == DeclSpecContext::DSC_type_specifier, in ParseEnumSpecifier()
4877 DSC == DeclSpecContext::DSC_template_param || in ParseEnumSpecifier()
4878 DSC == DeclSpecContext::DSC_template_type_arg, in ParseEnumSpecifier()