[clang] [clang-repl] Keep earlier declarations alive when an input fails (PR #218149)

Vipul Cariappa via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 22 00:18:52 PDT 2026


================
@@ -25,7 +25,11 @@ class ASTConsumer;
 class CompilerInstance;
 class Parser;
 class Sema;
+class ASTContext;
+class CXXRecordDecl;
+class NamedDecl;
 class TranslationUnitDecl;
+template <typename decl_type> class Redeclarable;
----------------
Vipul-Cariappa wrote:

Remnants from the previous approach. I have removed it now. Sorry about it.

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


More information about the cfe-commits mailing list