[clang] [clang-repl] Re-emit implicitly instantiated templates on subsequent uses (PR #192588)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Mon May 25 09:31:55 PDT 2026


================
@@ -19061,6 +19061,15 @@ void Sema::MarkFunctionReferenced(SourceLocation Loc, FunctionDecl *Func,
         }
       }
     });
+  } else if (NeedDefinition && getLangOpts().IncrementalExtensions &&
----------------
vgvassilev wrote:

This seems more like a workaround than a fix. I expect the fix to be somewhere in the Interpreter or the IncrementalParser

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


More information about the cfe-commits mailing list