[PATCH] D63376: [clang] Small improvments after Adding APValue to ConstantExpr
Tyker via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 19 03:48:29 PDT 2019
Tyker marked an inline comment as done.
Tyker added inline comments.
================
Comment at: clang/include/clang/Sema/Sema.h:10298
+ bool AllowFold = true,
+ bool StoreResult = true);
ExprResult VerifyIntegerConstantExpression(Expr *E, llvm::APSInt *Result,
----------------
rsmith wrote:
> Do you need this new flag? No callers are passing it.
the idea behind it is that not all integral constant expression benefit from storing the result. i have not analyzed which benefit from it and which don't. adding a FIXME would have probably be more appropriate.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63376/new/
https://reviews.llvm.org/D63376
More information about the cfe-commits
mailing list