[clang] [clang] Improved diagnostics for explicit specialization/instantiation of closure type members (PR #192843)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 22 07:55:43 PDT 2026
================
@@ -788,18 +788,21 @@ void GH67492() {
// FIXME: This currently causes clang to crash in C++11 mode.
#if __cplusplus >= 201402L
namespace GH83267 {
-auto l = [](auto a) { return 1; };
+auto l = [](auto a) { return 1; }; // expected-note {{defined here}}
----------------
StefanPaulet wrote:
Done
https://github.com/llvm/llvm-project/pull/192843
More information about the cfe-commits
mailing list