aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorTakuya Shimizu <shimizu2486@gmail.com>2023-08-25 16:08:07 +0900
committerTakuya Shimizu <shimizu2486@gmail.com>2023-08-25 16:08:07 +0900
commit615d812696ee8827d6d78ad106d6022ff2778137 (patch)
tree4a02c6794b4830383ca85354b4a8d5abe8c2c60d /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent6824d156d5dd9f5a3e837d8d4bc1dadb48170e2f (diff)
downloadllvm-615d812696ee8827d6d78ad106d6022ff2778137.zip
llvm-615d812696ee8827d6d78ad106d6022ff2778137.tar.gz
llvm-615d812696ee8827d6d78ad106d6022ff2778137.tar.bz2
[clang][ExprConstant] Improve error message of compound assignment against uninitialized object
BEFORE this patch, compound assignment operator against uninitialized object such as uninit += 1 was diagnosed as subexpression not valid This patch clarifies the reason for the error by saying that uninit is an uninitialized object. Fixes https://github.com/llvm/llvm-project/issues/51536 Reviewed By: shafik, tbaeder Differential Revision: https://reviews.llvm.org/D157855
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions