[PATCH] Config file support for clang-format, part 2.

Jordan Rose jordan_rose at apple.com
Tue May 7 13:51:57 PDT 2013



================
Comment at: tools/clang-format/ClangFormat.cpp:77-78
@@ +76,4 @@
+  while (!Directory.empty()) {
+    std::string ConfigFile = Directory.str();
+    ConfigFile += "/.clang-format";
+    bool IsFile;
----------------
Not really following this, but (a) why not SmallString, and (b) why not llvm::sys::path::append?


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



More information about the cfe-commits mailing list