Home
last modified time | relevance | path

Searched refs:DeclSpecContext (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1535 enum class DeclSpecContext { enum
1555 static bool isTypeSpecifier(DeclSpecContext DSC) { in isTypeSpecifier()
1557 case DeclSpecContext::DSC_normal: in isTypeSpecifier()
1558 case DeclSpecContext::DSC_template_param: in isTypeSpecifier()
1559 case DeclSpecContext::DSC_template_arg: in isTypeSpecifier()
1560 case DeclSpecContext::DSC_class: in isTypeSpecifier()
1561 case DeclSpecContext::DSC_top_level: in isTypeSpecifier()
1562 case DeclSpecContext::DSC_objc_method_result: in isTypeSpecifier()
1563 case DeclSpecContext::DSC_condition: in isTypeSpecifier()
1566 case DeclSpecContext::DSC_template_type_arg: in isTypeSpecifier()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp47 DeclSpecContext DSC = getDeclSpecContextFromDeclaratorContext(Context); in ParseTypeName()
48 if (DSC == DeclSpecContext::DSC_normal) in ParseTypeName()
49 DSC = DeclSpecContext::DSC_type_specifier; in ParseTypeName()
1945 DeclSpecContext DSContext = getDeclSpecContextFromDeclaratorContext(Context); in ParseSimpleDeclaration()
2725 AccessSpecifier AS, DeclSpecContext DSC) { in ParseSpecifierQualifierList()
2768 if (DS.hasConstexprSpecifier() && DSC != DeclSpecContext::DSC_condition) { in ParseSpecifierQualifierList()
2801 AccessSpecifier AS, DeclSpecContext DSC, in ParseImplicitInt()
2854 DSC == DeclSpecContext::DSC_template_type_arg)) { in ParseImplicitInt()
2909 DeclSpecContext::DSC_normal); in ParseImplicitInt()
2913 DeclSpecContext::DSC_normal, Attrs); in ParseImplicitInt()
[all …]
H A DParseDeclCXX.cpp1551 DeclSpecContext DSC, in ParseClassSpecifier()
1859 (DSC != DeclSpecContext::DSC_association && in ParseClassSpecifier()
2145 DSC == DeclSpecContext::DSC_type_specifier, in ParseClassSpecifier()
2146 DSC == DeclSpecContext::DSC_template_param || in ParseClassSpecifier()
2147 DSC == DeclSpecContext::DSC_template_type_arg, in ParseClassSpecifier()
2868 ParseDeclarationSpecifiers(DS, TemplateInfo, AS, DeclSpecContext::DSC_class, in ParseCXXClassMemberDeclaration()
2884 DiagnoseMissingSemiAfterTagDefinition(DS, AS, DeclSpecContext::DSC_class, in ParseCXXClassMemberDeclaration()
2950 DeclSpecContext::DSC_class, nullptr); in ParseCXXClassMemberDeclaration()
H A DParseObjc.cpp1121 DeclSpecContext dsContext = DeclSpecContext::DSC_normal; in ParseObjCTypeName()
1123 dsContext = DeclSpecContext::DSC_objc_method_result; in ParseObjCTypeName()
H A DParser.cpp1092 DeclSpecContext::DSC_top_level); in ParseDeclOrFunctionDefInternal()
1097 DS, AS, DeclSpecContext::DSC_top_level)) in ParseDeclOrFunctionDefInternal()
H A DParseTemplate.cpp807 DeclSpecContext::DSC_template_param); in ParseNonTypeTemplateParameter()
H A DParseExprCXX.cpp1523 DeclSpecContext::DSC_type_specifier); in ParseCXXCasts()
1995 ParseSpecifierQualifierList(DS, AS_none, DeclSpecContext::DSC_condition); in ParseCXXCondition()
H A DParseOpenMP.cpp520 Parser::DeclSpecContext DSC = Parser::DeclSpecContext::DSC_type_specifier; in parseOpenMPDeclareMapperVarDecl()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc4210 …lang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext)"},