[llvm-branch-commits] [clang] 8aca41f - [clang][docs] Fix documentation of -O
Hans Wennborg via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Sep 22 02:53:50 PDT 2020
Author: Jessica Clarke
Date: 2020-09-22T11:53:35+02:00
New Revision: 8aca41f39c207b6f9efe2e448986d109892072ad
URL: https://github.com/llvm/llvm-project/commit/8aca41f39c207b6f9efe2e448986d109892072ad
DIFF: https://github.com/llvm/llvm-project/commit/8aca41f39c207b6f9efe2e448986d109892072ad.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.
(cherry picked from commit 788c7d2ec11dfc868a5b03478c922dc9699c6d47)
Added:
Modified:
clang/docs/CommandGuide/clang.rst
Removed:
################################################################################
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst
index 2cca04fb31f1..2dfeafd1817a 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 llvm-branch-commits
mailing list