[all-commits] [llvm/llvm-project] 3a67c7: [Clang] Check for uninitialized use in lambda with...
zhaohui via All-commits
all-commits at lists.llvm.org
Fri Mar 7 00:01:44 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3a67c7c6f7f6d41adf4487d099c1225c31caf8c3
https://github.com/llvm/llvm-project/commit/3a67c7c6f7f6d41adf4487d099c1225c31caf8c3
Author: zhaohui <1178824043 at qq.com>
Date: 2025-03-07 (Fri, 07 Mar 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaDecl.cpp
M clang/test/SemaCXX/uninitialized.cpp
Log Message:
-----------
[Clang] Check for uninitialized use in lambda within CXXOperatorCallExpr (#129198)
Track whether a LambdaExpr is an immediate operand of a
CXXOperatorCallExpr using a new flag, isInCXXOperatorCall. This enables
special handling of capture initializations to detect uninitialized
variable uses, such as in `S s = [&]() { return s; }();`.
Fix #128058
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list