[clang] [clang-repl] Address error recovery fixing infinite loop while parsing (PR #127569)
Vassil Vassilev via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 11 01:37:46 PST 2026
================
@@ -721,6 +721,16 @@ class Parser : public CodeCompletionHandler {
Kind == tok::annot_repl_input_end;
}
+ /// Determine if the given token marks the end of the current parsing unit.
----------------
vgvassilev wrote:
```suggestion
/// Determine if the given token marks the end of the current partial translation unit.
```
https://github.com/llvm/llvm-project/pull/127569
More information about the cfe-commits
mailing list