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

Zahira Ammarguellat via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 12 12:38:22 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 "
+  "behavior}0 %select{|,additional use of %1 were found but not diagnosed}2">,
+  InGroup<DiagGroup<"higher-precision">>;
----------------
zahiraam wrote:

Not sure what you mean? Should I rename the group?

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


More information about the cfe-commits mailing list