Skip to content

Commit 823bc08

Browse files
committed
Fixed missing diagnostic groups in warnings
1 parent 33119f7 commit 823bc08

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11559,7 +11559,8 @@ def note_omp_implicit_dsa : Note<
1155911559
def err_omp_loop_var_dsa : Error<
1156011560
"loop iteration variable in the associated loop of 'omp %1' directive may not be %0, predetermined as %2">;
1156111561
def warn_omp_different_loop_ind_var_types : Warning <
11562-
"loop sequence following '#pragma omp %0' contains induction variables of differing types: %1 and %2">;
11562+
"loop sequence following '#pragma omp %0' contains induction variables of differing types: %1 and %2">,
11563+
InGroup<OpenMPLoopForm>;
1156311564
def err_omp_not_canonical_loop : Error <
1156411565
"loop after '#pragma omp %0' is not in canonical form">;
1156511566
def err_omp_not_a_loop_sequence : Error <
@@ -11570,7 +11571,8 @@ def err_omp_invalid_looprange : Error <
1157011571
"loop range in '#pragma omp %0' exceeds the number of available loops: "
1157111572
"range end '%1' is greater than the total number of loops '%2'">;
1157211573
def warn_omp_redundant_fusion : Warning <
11573-
"loop range in '#pragma omp %0' contains only a single loop, resulting in redundant fusion">;
11574+
"loop range in '#pragma omp %0' contains only a single loop, resulting in redundant fusion">,
11575+
InGroup<OpenMPClauses>;
1157411576
def err_omp_not_for : Error<
1157511577
"%select{statement after '#pragma omp %1' must be a for loop|"
1157611578
"expected %2 for loops after '#pragma omp %1'%select{|, but found only %4}3}0">;

0 commit comments

Comments
 (0)