[clang] 788c7d2 - [clang][docs] Fix documentation of -O
Jessica Clarke via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 17 05:47:13 PDT 2020
Author: Jessica Clarke
Date: 2020-09-17T13:44:01+01:00
New Revision: 788c7d2ec11dfc868a5b03478c922dc9699c6d47
URL: https://github.com/llvm/llvm-project/commit/788c7d2ec11dfc868a5b03478c922dc9699c6d47
DIFF: https://github.com/llvm/llvm-project/commit/788c7d2ec11dfc868a5b03478c922dc9699c6d47.diff
LOG: [clang][docs] Fix documentation of -O
D79916 changed the behaviour from -O2 to -O1 but the documentation was
not updated to reflect this.
Added:
Modified:
clang/docs/CommandGuide/clang.rst
Removed:
################################################################################
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst
index 11169e352894..a24e138e86a7 100644
--- a/clang/docs/CommandGuide/clang.rst
+++ b/clang/docs/CommandGuide/clang.rst
@@ -385,7 +385,7 @@ Code Generation Options
:option:`-Og` Like :option:`-O1`. In future versions, this option might
disable
diff erent optimizations in order to improve debuggability.
- :option:`-O` Equivalent to :option:`-O2`.
+ :option:`-O` Equivalent to :option:`-O1`.
:option:`-O4` and higher
More information about the cfe-commits
mailing list