[PATCH] D87822: [FPEnv] Evaluate constant expressions under non-default rounding modes
Melanie Blower via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 24 10:58:19 PDT 2020
mibintc added inline comments.
================
Comment at: clang/lib/AST/ExprConstant.cpp:2438
+/// Check if the given evaluation result is allowed for constant evaluation.
+static bool checkFloatingPointResult(EvalInfo &Info, const Expr *E,
+ APFloat::opStatus St) {
----------------
If the result is this false, shall this routine create a Note diag explaining the false result?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87822/new/
https://reviews.llvm.org/D87822
More information about the cfe-commits
mailing list