[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:42 PDT 2024


================
@@ -7964,6 +7964,12 @@ class Sema final : public SemaBase {
   /// Do an explicit extend of the given block pointer if we're in ARC.
   void maybeExtendBlockObject(ExprResult &E);
 
+  std::vector<std::tuple<SourceLocation, QualType, unsigned>>
+      ExcessPrecisionNotSatisfied;
+  unsigned NumExcessPrecisionNotSatisfied = 0;
----------------
AaronBallman wrote:

No need to track this because you can look at `ExcessPrecisionNotSatisfied.size()`, right?

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


More information about the cfe-commits mailing list