[clang] [Clang] Fix new initializer list mangling (PR #232629)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 18 01:13:50 PDT 2026


================
@@ -1531,7 +1531,8 @@ void Sema::ActOnStartOfLambdaDefinition(LambdaIntroducer &Intro,
   if (LangOpts.OpenMP)
     OpenMP().ActOnFinishedFunctionDefinitionInOpenMPAssumeScope(Method);
 
-  handleLambdaNumbering(Class, Method);
+  if (!Method->getType()->containsErrors())
----------------
ojhunt wrote:

This guard seems unrelated to initializer mangling - _if_ you have a test case that was able to break this independently of the initializer list mangling I think it would be worth splitting this change out

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


More information about the cfe-commits mailing list