[clang] [llvm] clang: fix lifetime_capture_by indexing for member functions (PR #212264)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 29 09:03:50 PDT 2026
================
@@ -1022,8 +1022,8 @@ void FactsGenerator::handleLifetimeCaptureBy(const FunctionDecl *FD,
const auto *Method = dyn_cast<CXXMethodDecl>(FD);
bool IsInstance =
Method && Method->isInstance() && !isa<CXXConstructorDecl>(FD);
- auto getArgCaptureBy = [FD,
- IsInstance](unsigned I) -> LifetimeCaptureByAttr * {
+ auto getArgCaptureBy =
+ [FD, IsInstance](unsigned I) -> LifetimeCaptureByAttr * {
----------------
NeKon69 wrote:
This was not addressed.
https://github.com/llvm/llvm-project/pull/212264
More information about the cfe-commits
mailing list