[PATCH] D155955: [Clang] Improve the handling of large arrays evaluation.
Corentin Jabot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 24 04:49:33 PDT 2023
cor3ntin added inline comments.
================
Comment at: clang/lib/AST/ExprConstant.cpp:6754-6758
bool IsNothrow = false;
for (unsigned I = 1, N = E->getNumArgs(); I != N; ++I) {
EvaluateIgnoredValue(Info, E->getArg(I));
IsNothrow |= E->getType()->isNothrowT();
}
----------------
Note that that the computation for nothrow is incorrect
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155955/new/
https://reviews.llvm.org/D155955
More information about the cfe-commits
mailing list