Skip to content

Commit 860fcd9

Browse files
committed
Fixed missing diagnostic groups in warnings
1 parent 1c05467 commit 860fcd9

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
@@ -11613,7 +11613,8 @@ def note_omp_implicit_dsa : Note<
1161311613
def err_omp_loop_var_dsa : Error<
1161411614
"loop iteration variable in the associated loop of 'omp %1' directive may not be %0, predetermined as %2">;
1161511615
def warn_omp_different_loop_ind_var_types : Warning <
11616-
"loop sequence following '#pragma omp %0' contains induction variables of differing types: %1 and %2">;
11616+
"loop sequence following '#pragma omp %0' contains induction variables of differing types: %1 and %2">,
11617+
InGroup<OpenMPLoopForm>;
1161711618
def err_omp_not_canonical_loop : Error <
1161811619
"loop after '#pragma omp %0' is not in canonical form">;
1161911620
def err_omp_not_a_loop_sequence : Error <
@@ -11624,7 +11625,8 @@ def err_omp_invalid_looprange : Error <
1162411625
"loop range in '#pragma omp %0' exceeds the number of available loops: "
1162511626
"range end '%1' is greater than the total number of loops '%2'">;
1162611627
def warn_omp_redundant_fusion : Warning <
11627-
"loop range in '#pragma omp %0' contains only a single loop, resulting in redundant fusion">;
11628+
"loop range in '#pragma omp %0' contains only a single loop, resulting in redundant fusion">,
11629+
InGroup<OpenMPClauses>;
1162811630
def err_omp_not_for : Error<
1162911631
"%select{statement after '#pragma omp %1' must be a for loop|"
1163011632
"expected %2 for loops after '#pragma omp %1'%select{|, but found only %4}3}0">;

0 commit comments

Comments
 (0)