[PATCH] clang-format some of the files in lib/Driver. NFC

Sean Silva chisophugis at gmail.com
Wed Jun 24 17:23:58 PDT 2015


================
Comment at: lib/Driver/Driver.cpp:1255-1256
@@ -1257,4 +1254,4 @@
     std::unique_ptr<Action> Current(new InputAction(*InputArg, InputType));
-    for (SmallVectorImpl<phases::ID>::iterator
-           i = PL.begin(), e = PL.end(); i != e; ++i) {
+    for (SmallVectorImpl<phases::ID>::iterator i = PL.begin(), e = PL.end();
+         i != e; ++i) {
       phases::ID Phase = *i;
----------------
Quick drive-by comment: A few of these formatting changes are iterator for loops that could be range-for'ified. Would be nice to do that cleanup where possible.

http://reviews.llvm.org/D10689

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list