Skip to content

Commit 17fb28b

Browse files
author
Alex Voicu
committed
Add missing diagnostics.
1 parent 4111b93 commit 17fb28b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11746,9 +11746,9 @@ def err_omp_inscan_reduction_expected : Error<
1174611746
def note_omp_previous_inscan_reduction : Note<
1174711747
"'reduction' clause with 'inscan' modifier is used here">;
1174811748
def err_omp_multivar_xteam_scan_unsupported : Error<
11749-
"multiple list items are not yet supported with the 'inclusive' or the 'exclusive' clauses that appear with the 'scan' directive">;
11749+
"multiple list items are not yet supported with the 'inclusive' or the 'exclusive' clauses that appear with the 'scan' directive">;
1175011750
def err_omp_xteam_scan_prohibited : Error<
11751-
"'scan' directive is not supported inside target regions. Use flag '-fopenmp-target-xteam-scan' to enable it">;
11751+
"'scan' directive is not supported inside target regions. Use flag '-fopenmp-target-xteam-scan' to enable it">;
1175211752
def err_omp_expected_predefined_allocator : Error<
1175311753
"expected one of the predefined allocators for the variables with the static "
1175411754
"storage: 'omp_default_mem_alloc', 'omp_large_cap_mem_alloc', "
@@ -13066,4 +13066,14 @@ def err_acc_invalid_modifier
1306613066
// AMDGCN builtins diagnostics
1306713067
def err_amdgcn_load_lds_size_invalid_value : Error<"invalid size value">;
1306813068
def note_amdgcn_load_lds_size_valid_value : Note<"size must be %select{1, 2, or 4|1, 2, 4, 12 or 16}0">;
13069+
def err_amdgcn_processor_is_arg_not_literal
13070+
: Error<"the argument to __builtin_amdgcn_processor_is must be a string "
13071+
"literal">;
13072+
def err_amdgcn_processor_is_arg_invalid_value
13073+
: Error<"the argument to __builtin_amdgcn_processor_is must be a valid "
13074+
"AMDGCN processor identifier; '%0' is not valid">;
13075+
def err_amdgcn_is_invocable_arg_invalid_value
13076+
: Error<"the argument to __builtin_amdgcn_is_invocable must be either a "
13077+
"target agnostic builtin or an AMDGCN target specific builtin; `%0`"
13078+
" is not valid">;
1306913079
} // end of sema component.

0 commit comments

Comments
 (0)