klimek added inline comments.

================
Comment at: lib/Format/Format.cpp:2148
@@ -2140,3 +2147,3 @@
     // the file or not.
-    llvm::sys::fs::is_regular_file(Twine(ConfigFile), IsFile);
-
+    Status = FS->status(ConfigFile.c_str());
+    bool IsFile =
----------------
Prefer .str to .c_str, the former is nicely typed. (here and below)


http://reviews.llvm.org/D18399



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to