[PATCH] D122155: Add warning when eval-method is set in the presence of value unsafe floating-point calculations.

Zahira Ammarguellat via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 22 11:53:53 PDT 2022


zahiraam added inline comments.


================
Comment at: clang/lib/Sema/SemaAttr.cpp:492
+    Diag(Loc,
+         diag::warn_eval_method_setting_via_pragma_in_value_unsafe_context);
   FpPragmaStack.Act(Loc, PSK_Set, StringRef(), NewFPFeatures);
----------------
Not sure if I should repeat the comment here (same one than in CompilerInvocation.cpp?).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122155/new/

https://reviews.llvm.org/D122155



More information about the cfe-commits mailing list