[all-commits] [llvm/llvm-project] 2fbf18: [clang] Fix aggregate initialization inside lambda...
Mariya Podchishchaeva via All-commits
all-commits at lists.llvm.org
Mon Mar 6 00:42:58 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2fbf18b40026b46bd380fae58575cebbd9801ff4
https://github.com/llvm/llvm-project/commit/2fbf18b40026b46bd380fae58575cebbd9801ff4
Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ExprConstant.cpp
M clang/test/SemaCXX/lambda-expressions.cpp
Log Message:
-----------
[clang] Fix aggregate initialization inside lambda constexpr
Constant evaluator only considered access to `this` pointer to be
possible if `this` poitners was captured. However `this` can also appear if
there was a default member initializer.
Fixes https://github.com/llvm/llvm-project/issues/60936
Reviewed By: shafik
Differential Revision: https://reviews.llvm.org/D144866
More information about the All-commits
mailing list