[all-commits] [llvm/llvm-project] c295f0: [clang-repl] Improve error message on failed undos...

Aaron Danen via All-commits all-commits at lists.llvm.org
Wed Jul 23 02:13:32 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c295f050633ba4feb3e2ed74811b9c9d7add758d
      https://github.com/llvm/llvm-project/commit/c295f050633ba4feb3e2ed74811b9c9d7add758d
  Author: Aaron Danen <aaron.danen at gmail.com>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M clang/lib/Interpreter/Interpreter.cpp
    M clang/unittests/Interpreter/InterpreterTest.cpp

  Log Message:
  -----------
  [clang-repl] Improve error message on failed undos (#149396)

Updated error message logic for undo function. Throws different errors
for the case of there being nothing to undo, and for the case of
requesting more undos than there are operations to undo.

Fixes https://github.com/llvm/llvm-project/issues/143668



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list