[clang] [llvm] [Clang-Repl] Introduce Error Recovery for Clang-Repl. (PR #223305)

Vassil Vassilev via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 03:59:21 PDT 2026


================
@@ -242,6 +249,34 @@ class BumpPtrAllocatorImpl
 
   size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); }
 
+  SlabCheckPoint CheckPoint() const {
----------------
vgvassilev wrote:

Can we have an llvm-specific test case for this? This way we can put it as a separate PR. Probably `CheckPoint` needs a better name. I believe this is a more generic and useful interface hiding under this implementation.

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


More information about the llvm-commits mailing list