diff options
author | zhaohui <1178824043@qq.com> | 2025-03-07 16:01:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-07 16:01:23 +0800 |
commit | 3a67c7c6f7f6d41adf4487d099c1225c31caf8c3 (patch) | |
tree | cf93023948b09997ad4a00479d7c974f3d72593d /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 6cb2f6de9b3cf0e72b7d45c9fc149457b3462ca3 (diff) | |
download | llvm-3a67c7c6f7f6d41adf4487d099c1225c31caf8c3.zip llvm-3a67c7c6f7f6d41adf4487d099c1225c31caf8c3.tar.gz llvm-3a67c7c6f7f6d41adf4487d099c1225c31caf8c3.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions