Skip to content

Commit

Permalink
[clang][docs] Fix documentation of -O
Browse files Browse the repository at this point in the history
D79916 changed the behaviour from -O2 to -O1 but the documentation was
not updated to reflect this.
  • Loading branch information
jrtc27 committed Sep 17, 2020
1 parent aa896a0 commit 788c7d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/docs/CommandGuide/clang.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 788c7d2

Please sign in to comment.