[clang] [Clang] add wraps and no_wraps attributes (PR #115094)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 8 15:03:56 PST 2024


================
@@ -6664,6 +6664,13 @@ def err_builtin_counted_by_ref_invalid_lhs_use : Error<
 def err_builtin_counted_by_ref_has_side_effects : Error<
   "'__builtin_counted_by_ref' argument cannot have side-effects">;
 
+def warn_wraps_attr_var_decl_type_not_integer : Warning<
----------------
erichkeane wrote:

This should be an error, mishandling an attribute like this should stop compilation.

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


More information about the cfe-commits mailing list