r264254 - removed redundant comment in format::getStyle.

Eric Liu via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 24 03:50:26 PDT 2016


Author: ioeric
Date: Thu Mar 24 05:50:26 2016
New Revision: 264254

URL: http://llvm.org/viewvc/llvm-project?rev=264254&view=rev
Log:
removed redundant comment in format::getStyle.

Modified:
    cfe/trunk/lib/Format/Format.cpp

Modified: cfe/trunk/lib/Format/Format.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/Format.cpp?rev=264254&r1=264253&r2=264254&view=diff
==============================================================================
--- cfe/trunk/lib/Format/Format.cpp (original)
+++ cfe/trunk/lib/Format/Format.cpp Thu Mar 24 05:50:26 2016
@@ -2144,8 +2144,7 @@ FormatStyle getStyle(StringRef StyleName
 
     llvm::sys::path::append(ConfigFile, ".clang-format");
     DEBUG(llvm::dbgs() << "Trying " << ConfigFile << "...\n");
-    // Ignore errors from is_regular_file: we only need to know if we can read
-    // the file or not.
+
     Status = FS->status(ConfigFile.str());
     bool IsFile =
         Status && (Status->getType() == llvm::sys::fs::file_type::regular_file);




More information about the cfe-commits mailing list