[PATCH] D33563: Track whether a unary operation can overflow
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 29 16:36:58 PDT 2017
ahatanak added inline comments.
================
Comment at: lib/Sema/SemaDeclCXX.cpp:11119
+ VK_LValue, OK_Ordinary, Loc, true);
// Construct the loop that copies all elements of this array.
----------------
Can we pass false here if we know the array size is not too large and the pre-increment won't cause overflow?
https://reviews.llvm.org/D33563
More information about the cfe-commits
mailing list