Skip to content

Commit 8aca41f

Browse files
jrtc27zmodem
authored andcommitted
[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 788c7d2)
1 parent b513e19 commit 8aca41f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/docs/CommandGuide/clang.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ Code Generation Options
385385
:option:`-Og` Like :option:`-O1`. In future versions, this option might
386386
disable different optimizations in order to improve debuggability.
387387

388-
:option:`-O` Equivalent to :option:`-O2`.
388+
:option:`-O` Equivalent to :option:`-O1`.
389389

390390
:option:`-O4` and higher
391391

0 commit comments

Comments
 (0)