Skip to content

Commit 0d90fa9

Browse files
committed
Fixed missing diagnostic groups in warnings
1 parent 00095f4 commit 0d90fa9

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
@@ -11517,7 +11517,8 @@ def note_omp_implicit_dsa : Note<
1151711517
def err_omp_loop_var_dsa : Error<
1151811518
"loop iteration variable in the associated loop of 'omp %1' directive may not be %0, predetermined as %2">;
1151911519
def warn_omp_different_loop_ind_var_types : Warning <
11520-
"loop sequence following '#pragma omp %0' contains induction variables of differing types: %1 and %2">;
11520+
"loop sequence following '#pragma omp %0' contains induction variables of differing types: %1 and %2">,
11521+
InGroup<OpenMPLoopForm>;
1152111522
def err_omp_not_canonical_loop : Error <
1152211523
"loop after '#pragma omp %0' is not in canonical form">;
1152311524
def err_omp_not_a_loop_sequence : Error <
@@ -11528,7 +11529,8 @@ def err_omp_invalid_looprange : Error <
1152811529
"loop range in '#pragma omp %0' exceeds the number of available loops: "
1152911530
"range end '%1' is greater than the total number of loops '%2'">;
1153011531
def warn_omp_redundant_fusion : Warning <
11531-
"loop range in '#pragma omp %0' contains only a single loop, resulting in redundant fusion">;
11532+
"loop range in '#pragma omp %0' contains only a single loop, resulting in redundant fusion">,
11533+
InGroup<OpenMPClauses>;
1153211534
def err_omp_not_for : Error<
1153311535
"%select{statement after '#pragma omp %1' must be a for loop|"
1153411536
"expected %2 for loops after '#pragma omp %1'%select{|, but found only %4}3}0">;

0 commit comments

Comments
 (0)