We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4792e63 commit ea1ac37Copy full SHA for ea1ac37
clang/include/clang/Basic/DiagnosticSemaKinds.td
@@ -12920,8 +12920,7 @@ def err_spirv_enum_not_valid : Error<
12920
"invalid value for %select{storage class}0 argument">;
12921
12922
def err_specialization_const_lit_init
12923
- : Error<"variable with 'vk::constant_id' attribute cannot have an "
12924
- "initializer that is not a literal">;
+ : Error<"variable with 'vk::constant_id' attribute must be initialized by a int/float/enum/bool literal.">;
12925
def err_specialization_const_missing_initializer
12926
: Error<
12927
"variable with 'vk::constant_id' attribute must have an initializer">;
0 commit comments