summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format
diff options
context:
space:
mode:
authorEric Liu <ioeric@google.com>2016-03-24 10:50:26 +0000
committerEric Liu <ioeric@google.com>2016-03-24 10:50:26 +0000
commit883df1782e300edc86c259486d19f17075268d9c (patch)
treefbd1482c456a1f97739131bc183fecdd633d1f27 /clang/lib/Format
parentb72f6098df3582fc4f08addacb9e1ecd108438ca (diff)
downloadbcm5719-llvm-883df1782e300edc86c259486d19f17075268d9c.tar.gz
bcm5719-llvm-883df1782e300edc86c259486d19f17075268d9c.zip
removed redundant comment in format::getStyle.
llvm-svn: 264254
Diffstat (limited to 'clang/lib/Format')
-rw-r--r--clang/lib/Format/Format.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 6d03b629200..40ff01fa85c 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -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);
OpenPOWER on IntegriCloud