[all-commits] [llvm/llvm-project] f6fb6a: [clang][ExprConst] Fix crash on uninitialized arra...
Takuya Shimizu via All-commits
all-commits at lists.llvm.org
Mon Oct 30 05:00:34 PDT 2023
Branch: refs/heads/release/17.x
Home: https://github.com/llvm/llvm-project
Commit: f6fb6a996c7fe7962bbfbc7bbdb42d690b1f630f
https://github.com/llvm/llvm-project/commit/f6fb6a996c7fe7962bbfbc7bbdb42d690b1f630f
Author: Takuya Shimizu <shimizu2486 at gmail.com>
Date: 2023-10-30 (Mon, 30 Oct 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticASTKinds.td
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/Interp.cpp
M clang/test/SemaCXX/constant-expression-cxx2a.cpp
M clang/test/SemaCXX/eval-crashes.cpp
Log Message:
-----------
[clang][ExprConst] Fix crash on uninitialized array subobject (#67817)
https://reviews.llvm.org/D146358 was assuming that all subobjects have
their own name (`SubobjectDecl`), but it was not true for array
elements.
Fixes https://github.com/llvm/llvm-project/issues/67317
Commit: 3347c844158831872bf017842f1b85993e4c82f6
https://github.com/llvm/llvm-project/commit/3347c844158831872bf017842f1b85993e4c82f6
Author: Takuya Shimizu <shimizu2486 at gmail.com>
Date: 2023-10-30 (Mon, 30 Oct 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
Log Message:
-----------
Update release note for the fix
Compare: https://github.com/llvm/llvm-project/compare/8c8abe6b93c0...3347c8441588
More information about the All-commits
mailing list