This reverts commit r264254.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264256
91177308-0d34-0410-b5e6-
96231b3b80d8
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);