[clang] [llvm] clang: fix lifetime_capture_by indexing for member functions (PR #212264)
Aditya prakash jha via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 29 07:42:09 PDT 2026
AdityaOP007 wrote:
Thanks @usx95 for the detailed feedback! I've pushed an updated revision addressing both comments. I narrowed the implementation to keep the PR focused on the root cause by reverting the broader isImplicitObjectMemberFunction() change and retaining only the changes required for the fix. I also rewrote the regression tests to include use-after-scope scenarios so they verify the lifetime analysis and loan flow, rather than only ensuring the compiler no longer crashes. Please let me know if there's anything else you'd like me to adjust. Thanks again for the review!
https://github.com/llvm/llvm-project/pull/212264
More information about the cfe-commits
mailing list