Skip to content

Commit ea1ac37

Browse files
s-perronKeenuts
andauthored
Update clang/include/clang/Basic/DiagnosticSemaKinds.td
Co-authored-by: Nathan Gauër <[email protected]>
1 parent 4792e63 commit ea1ac37

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12920,8 +12920,7 @@ def err_spirv_enum_not_valid : Error<
1292012920
"invalid value for %select{storage class}0 argument">;
1292112921

1292212922
def err_specialization_const_lit_init
12923-
: Error<"variable with 'vk::constant_id' attribute cannot have an "
12924-
"initializer that is not a literal">;
12923+
: Error<"variable with 'vk::constant_id' attribute must be initialized by a int/float/enum/bool literal.">;
1292512924
def err_specialization_const_missing_initializer
1292612925
: Error<
1292712926
"variable with 'vk::constant_id' attribute must have an initializer">;

0 commit comments

Comments
 (0)