[clang] [clang] Fix incompatible pointer to integer conversion error in array initialization - Fixes #154046 (PR #154061)

2025-08-18 Thread Rohan A M via cfe-commits
https://github.com/badwriter123 closed https://github.com/llvm/llvm-project/pull/154061 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix lambda *this capture crash - Fixes #154054 (PR #154057)

2025-08-18 Thread Rohan A M via cfe-commits
https://github.com/badwriter123 closed https://github.com/llvm/llvm-project/pull/154057 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix lambda *this capture crash - Fixes #154054 (PR #154057)

2025-08-17 Thread Rohan A M via cfe-commits
https://github.com/badwriter123 edited https://github.com/llvm/llvm-project/pull/154057 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix lambda *this capture crash - Fixes #154054 (PR #154057)

2025-08-17 Thread Rohan A M via cfe-commits
https://github.com/badwriter123 edited https://github.com/llvm/llvm-project/pull/154057 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix incompatible pointer to integer conversion error in array initialization - Fixes #154046 (PR #154061)

2025-08-17 Thread Rohan A M via cfe-commits
https://github.com/badwriter123 edited https://github.com/llvm/llvm-project/pull/154061 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix incompatible pointer to integer conversion error in array initialization (PR #154061)

2025-08-17 Thread Rohan A M via cfe-commits
https://github.com/badwriter123 edited https://github.com/llvm/llvm-project/pull/154061 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix incompatible pointer to integer conversion error in array initialization (PR #154061)

2025-08-17 Thread Rohan A M via cfe-commits
https://github.com/badwriter123 edited https://github.com/llvm/llvm-project/pull/154061 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix incompatible pointer to integer conversion error in array initialization - Fixes #154046 (PR #154061)

2025-08-17 Thread Rohan A M via cfe-commits
https://github.com/badwriter123 edited https://github.com/llvm/llvm-project/pull/154061 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix incompatible pointer to integer conversion error in array initialization (PR #154061)

2025-08-17 Thread Rohan A M via cfe-commits
https://github.com/badwriter123 created https://github.com/llvm/llvm-project/pull/154061 This commit adds comprehensive documentation and test coverage for a common C programming error: 'incompatible pointer to integer conversion initializing const char with an expression of type char[N]'. Ad

[clang] Fix lambda *this capture crash (PR #154057)

2025-08-17 Thread Rohan A M via cfe-commits
https://github.com/badwriter123 created https://github.com/llvm/llvm-project/pull/154057 ## Summary This PR adds a regression test to ensure that combining lambda capture by copy of `*this` with explicit `this` parameters doesn't crash the compiler. ## Background This test case addresses a c