[clang] Don't eagerly load all declarations in a class when defining a special member function. (PR #210178)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 12 03:00:42 PDT 2026


================
@@ -12,4 +26,4 @@ S::operator const char *() { return 0; }
 struct T : S {};
 
 const T a = T();
-T b(a);
+T b(a);
----------------
cor3ntin wrote:

Ditto

https://github.com/llvm/llvm-project/pull/210178


More information about the cfe-commits mailing list