[all-commits] [llvm/llvm-project] 0e167f: [clang][AST] Print name instead of type when diagn...
Takuya Shimizu via All-commits
all-commits at lists.llvm.org
Tue May 16 05:58:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e167fc0a2147c9b673b8afd5fea001b0d127781
https://github.com/llvm/llvm-project/commit/0e167fc0a2147c9b673b8afd5fea001b0d127781
Author: Takuya Shimizu <shimizu2486 at gmail.com>
Date: 2023-05-16 (Tue, 16 May 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/AST/Interp/cxx20.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p4.cpp
M clang/test/SemaCXX/constant-expression-cxx2a.cpp
M clang/test/SemaCXX/cxx2a-consteval.cpp
Log Message:
-----------
[clang][AST] Print name instead of type when diagnosing uninitialized subobject in constexpr variables
This patch improves the diagnostic on uninitialized subobjects in constexpr variables by modifying the diagnostic message to display the subobject's name instead of its type.
Fixes https://github.com/llvm/llvm-project/issues/58601
Differential Revision: https://reviews.llvm.org/D146358
More information about the All-commits
mailing list