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

via cfe-commits cfe-commits at lists.llvm.org
Tue May 26 04:10:50 PDT 2026


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

Makes sense. I'll take a look at `cling::DeclUnloader`.

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


More information about the cfe-commits mailing list