[PATCH] Improve the documentation of the optimization flags

Renato Golin renato.golin at linaro.org
Mon Nov 11 07:13:50 PST 2013


  I like the new layout, and the change is important, given that you're changing the meaning of -ON for N > 4.


================
Comment at: docs/tools/clang.pod:279
@@ +278,3 @@
+
+Somewhere between B<-O0> and B<-O2>.
+
----------------
This is the best comment ever! ;)

And it's not even accurate... at least, not on *all* possibilities.

But for what it is, there is no better description.

================
Comment at: docs/tools/clang.pod:305
@@ +304,3 @@
+
+Equivalent to B<-02>.
+
----------------
Is this a zero? or an oh?


http://llvm-reviews.chandlerc.com/D2138



More information about the cfe-commits mailing list