File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1832,8 +1832,8 @@ TYPE_PARSER(sourced(construct<OpenMPDeclareMapperConstruct>(
18321832TYPE_PARSER(construct<OmpReductionCombiner>(Parser<AssignmentStmt>{}) ||
18331833 construct<OmpReductionCombiner>(Parser<FunctionReference>{}))
18341834
1835- TYPE_PARSER(construct<OpenMPCriticalConstruct>(
1836- OmpBlockConstructParser{llvm::omp::Directive::OMPD_critical}))
1835+ TYPE_PARSER(sourced( construct<OpenMPCriticalConstruct>(
1836+ OmpBlockConstructParser{llvm::omp::Directive::OMPD_critical})))
18371837
18381838// 2.11.3 Executable Allocate directive
18391839TYPE_PARSER(
@@ -1908,12 +1908,12 @@ TYPE_PARSER(
19081908 Parser<OmpMetadirectiveDirective>{})) /
19091909 endOmpLine))
19101910
1911- TYPE_PARSER(construct<OpenMPAssumeConstruct>(
1912- sourced( OmpBlockConstructParser{llvm::omp::Directive::OMPD_assume})))
1911+ TYPE_PARSER(sourced( construct<OpenMPAssumeConstruct>(
1912+ OmpBlockConstructParser{llvm::omp::Directive::OMPD_assume})))
19131913
19141914// Block Construct
19151915#define MakeBlockConstruct(dir) \
1916- construct<OmpBlockConstruct>(OmpBlockConstructParser{dir})
1916+ sourced( construct<OmpBlockConstruct>(OmpBlockConstructParser{dir}) )
19171917TYPE_PARSER( //
19181918 MakeBlockConstruct(llvm::omp::Directive::OMPD_masked) ||
19191919 MakeBlockConstruct(llvm::omp::Directive::OMPD_master) ||
You can’t perform that action at this time.
0 commit comments