[clang] [NFC] Move warning from CodeGen to Sema. (PR #107397)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 12 12:04:43 PDT 2024


================
@@ -6784,6 +6784,11 @@ def warn_arc_lifetime_result_type : Warning<
   "ARC %select{unused|__unsafe_unretained|__strong|__weak|__autoreleasing}0 "
   "lifetime qualifier on return type is ignored">,
   InGroup<IgnoredQualifiers>;
+def warn_excess_precision_not_supported : Warning<
+  "excess precision is requested but the target does not support excess "
+  "precision %select{which may result in observable differences in arithmetic "
----------------
AaronBallman wrote:

Should this be `%select{|...}` where there's more than one thing to select from? If not, the `%select` can be removed entirely.

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


More information about the cfe-commits mailing list