]> granicus.if.org Git - clang/commitdiff
removed redundant comment in format::getStyle.
authorEric Liu <ioeric@google.com>
Thu, 24 Mar 2016 10:50:26 +0000 (10:50 +0000)
committerEric Liu <ioeric@google.com>
Thu, 24 Mar 2016 10:50:26 +0000 (10:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264254 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Format/Format.cpp

index 6d03b629200a77f53a532f2794861aa921883fbb..40ff01fa85c9911839f6e8e035574b6b8b4563d6 100644 (file)
@@ -2144,8 +2144,7 @@ FormatStyle getStyle(StringRef StyleName, StringRef FileName,
 
     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);