[clang] [clang-repl] adding documentation and information for %commands (PR #150348)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 23 18:05:23 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Aaron Danen (aadanen)
<details>
<summary>Changes</summary>
so far just added undo to the documentation. We can see about implementing %help or something similar. This will attempt to solve issue #<!-- -->143666
---
Full diff: https://github.com/llvm/llvm-project/pull/150348.diff
1 Files Affected:
- (modified) clang/docs/ClangRepl.rst (+7)
``````````diff
diff --git a/clang/docs/ClangRepl.rst b/clang/docs/ClangRepl.rst
index 5399036c123fb..9ef82df28ee43 100644
--- a/clang/docs/ClangRepl.rst
+++ b/clang/docs/ClangRepl.rst
@@ -197,6 +197,13 @@ Comments:
clang-repl> // Comments in Clang-Repl
clang-repl> /* Comments in Clang-Repl */
+Undo:
+=====
+
+.. code-block:: text
+
+ clang-repl>%undo
+
Closure or Termination:
=======================
``````````
</details>
https://github.com/llvm/llvm-project/pull/150348
More information about the cfe-commits
mailing list