[all-commits] [llvm/llvm-project] f6be96: [clang][ExprConstant] Fix display of syntactically...
Takuya Shimizu via All-commits
all-commits at lists.llvm.org
Tue Jun 27 08:20:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f6be96aa4e5e282ea52041ad6fe5fff13a3df103
https://github.com/llvm/llvm-project/commit/f6be96aa4e5e282ea52041ad6fe5fff13a3df103
Author: Takuya Shimizu <shimizu2486 at gmail.com>
Date: 2023-06-28 (Wed, 28 Jun 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ExprConstant.cpp
M clang/test/AST/Interp/constexpr-nqueens.cpp
M clang/test/AST/Interp/lambda.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p9.cpp
M clang/test/CXX/temp/temp.param/p8-cxx20.cpp
M clang/test/SemaCXX/constant-expression-cxx11.cpp
A clang/test/SemaCXX/constexpr-frame-describe.cpp
M clang/test/SemaCXX/cxx2a-consteval.cpp
M clang/test/SemaCXX/deduced-return-type-cxx14.cpp
Log Message:
-----------
[clang][ExprConstant] Fix display of syntactically-invalid note for member function calls
This patch makes the display of member function calls more true to the user-written code by making use of the syntactical structure of the function calls.
This patch also changes the display of conventional value-based printing from arrow operator to dot operator.
This avoids the syntactical invalidness in notes previously caused by the display of & operator
(lack of parentheses and reference of rvalue)
Fixes https://github.com/llvm/llvm-project/issues/57081
Reviewed By: cjdb
Differential Revision: https://reviews.llvm.org/D151720
More information about the All-commits
mailing list