[clang] [Clang][Docs] Fix typo in clang.rst (PR #150907)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 28 02:15:38 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Tomer Shafir (tomershafir)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/150907.diff


1 Files Affected:

- (modified) clang/docs/CommandGuide/clang.rst (+1-1) 


``````````diff
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst
index 7d49f2cc28a10..4c1f8e47ce381 100644
--- a/clang/docs/CommandGuide/clang.rst
+++ b/clang/docs/CommandGuide/clang.rst
@@ -645,7 +645,7 @@ Driver Options
 
   Save internal code generation (LLVM) statistics to a file in the current
   directory (:option:`-save-stats`/"-save-stats=cwd") or the directory
-  of the output file ("-save-state=obj").
+  of the output file ("-save-stats=obj").
 
   You can also use environment variables to control the statistics reporting.
   Setting ``CC_PRINT_INTERNAL_STAT`` to ``1`` enables the feature, the report

``````````

</details>


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


More information about the cfe-commits mailing list