summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@jrtc27.com>2020-09-17 13:44:01 +0100
committerHans Wennborg <hans@chromium.org>2020-09-22 11:53:35 +0200
commit8aca41f39c207b6f9efe2e448986d109892072ad (patch)
tree91ea313160d6bdf68f288d0b72e00473be43e9c7
parentb513e1963f3a7edc897c6c4e675934d0c58f1802 (diff)
[clang][docs] Fix documentation of -Oupstream/llvmorg-11.0.0-rc3llvmorg-11.0.0-rc3
D79916 changed the behaviour from -O2 to -O1 but the documentation was not updated to reflect this. (cherry picked from commit 788c7d2ec11dfc868a5b03478c922dc9699c6d47)
-rw-r--r--clang/docs/CommandGuide/clang.rst2
1 files changed, 1 insertions, 1 deletions
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 different optimizations in order to improve debuggability.
- :option:`-O` Equivalent to :option:`-O2`.
+ :option:`-O` Equivalent to :option:`-O1`.
:option:`-O4` and higher