[clang] [Clang][C++23] Implement P1774R8: Portable assumptions (PR #81014)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 7 10:33:22 PST 2024


================
@@ -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">;
----------------
erichkeane wrote:

Please pass the name, it will allow us to better handle other spellings (since we allow standards spellings to work with other spellings, which I think `__attribute__((assume))` would work).

https://github.com/llvm/llvm-project/pull/81014


More information about the cfe-commits mailing list