summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorTakuya Shimizu <shimizu2486@gmail.com>2023-08-08 15:53:17 +0900
committerTakuya Shimizu <shimizu2486@gmail.com>2023-08-08 15:53:17 +0900
commit24c91d443222bdb20205630d300ae61bfa07067e (patch)
tree54818899852638ff1c8cfa7f298df98886464198 /clang/lib/CodeGen/CodeGenModule.cpp
parentf4a6038e80655e9befe0b820e9a201de32696efa (diff)
[clang][ExprConstant] Fix crash on uninitialized base class subobject
This patch fixes the reported regression caused by D146358 through adding notes about an uninitialized base class when we diagnose uninitialized constructor. This also changes the wording from the old one in order to make it clear that the uninitialized subobject is a base class and its constructor is not called. Wording changes: BEFORE: `subobject of type 'Base' is not initialized` AFTER: `constructor of base class 'Base' is not called` Fixes https://github.com/llvm/llvm-project/issues/63496 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D153969
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions