================
@@ -783,6 +783,9 @@ def err_ms_property_expected_comma_or_rparen : Error<
 def err_ms_property_initializer : Error<
   "property declaration cannot have a default member initializer">;
 
+def err_assume_attr_expects_cond_expr : Error<
+  "use of this expression in an 'assume' attribute requires parentheses">;
----------------
Sirraide wrote:

Since `assume` (currently) only has one spelling (because `clang::assume` is 
something else as I understand it), I’ve inlined it here. Should I change this 
to `%0` and pass the attribute name to the diagnostic instead? The same also 
applies to some of the other assume-related diagnostics

https://github.com/llvm/llvm-project/pull/81014
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to