[PATCH] D153969: [clang][ExprConstant] Fix crash on uninitialized base class subobject
Takuya Shimizu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 3 07:56:37 PDT 2023
hazohelet updated this revision to Diff 536771.
hazohelet edited the summary of this revision.
hazohelet added a comment.
- Removed the `base class inherited here` redundant note
- Provided source range and added test for it
The provided source range is NOT directly calling `CXXBaseSpecifier::getSourceRange` so as not to cover the access specifiers like `public`, `private` or `protected`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153969/new/
https://reviews.llvm.org/D153969
Files:
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/DiagnosticASTKinds.td
clang/lib/AST/ExprConstant.cpp
clang/test/Misc/constexpr-subobj-init-source-ranges.cpp
clang/test/SemaCXX/constexpr-subobj-initialization.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153969.536771.patch
Type: text/x-patch
Size: 4466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230703/c880aa5f/attachment.bin>
More information about the cfe-commits
mailing list