projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa896a0
)
[clang][docs] Fix documentation of -O
author
Jessica Clarke
<jrtc27@jrtc27.com>
Thu, 17 Sep 2020 12:44:01 +0000
(13:44 +0100)
committer
Jessica Clarke
<jrtc27@jrtc27.com>
Thu, 17 Sep 2020 12:44:01 +0000
(13:44 +0100)
D79916 changed the behaviour from -O2 to -O1 but the documentation was
not updated to reflect this.
clang/docs/CommandGuide/clang.rst
patch
|
blob
|
history
diff --git
a/clang/docs/CommandGuide/clang.rst
b/clang/docs/CommandGuide/clang.rst
index
11169e3
..
a24e138
100644
(file)
--- 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:`-O
2
`.
+ :option:`-O` Equivalent to :option:`-O
1
`.
:option:`-O4` and higher