================
@@ -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">>;
----------------
AaronBallman wrote:
When it was in DiagnosticCommonKinds.td, it was defined as
`InGroup<DiagGroup<"higher-precision-fp">>;` so this rename seems unintended.
We probably should have a test case using `-Wno-higher-precision-fp` to show
that the diagnostic is properly silenced.
https://github.com/llvm/llvm-project/pull/107397
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits