summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/FileSystemStatCache.cpp
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2018-03-28 22:09:09 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2018-03-28 22:09:09 +0000
commit5a52011c4167049a75a85a4778df408c415889a1 (patch)
treefb401c388662fcd67e55f26c2e27f425c4579a3f /clang/lib/Basic/FileSystemStatCache.cpp
parentb276621d3d732daaf3454666a8b4fe50a9d2010d (diff)
downloadbcm5719-llvm-5a52011c4167049a75a85a4778df408c415889a1.tar.gz
bcm5719-llvm-5a52011c4167049a75a85a4778df408c415889a1.zip
[Basic] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC).
llvm-svn: 328735
Diffstat (limited to 'clang/lib/Basic/FileSystemStatCache.cpp')
-rw-r--r--clang/lib/Basic/FileSystemStatCache.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/clang/lib/Basic/FileSystemStatCache.cpp b/clang/lib/Basic/FileSystemStatCache.cpp
index 799df1d3c3a..ebee32670e0 100644
--- a/clang/lib/Basic/FileSystemStatCache.cpp
+++ b/clang/lib/Basic/FileSystemStatCache.cpp
@@ -1,4 +1,4 @@
-//===--- FileSystemStatCache.cpp - Caching for 'stat' calls ---------------===//
+//===- FileSystemStatCache.cpp - Caching for 'stat' calls -----------------===//
//
// The LLVM Compiler Infrastructure
//
@@ -13,11 +13,14 @@
#include "clang/Basic/FileSystemStatCache.h"
#include "clang/Basic/VirtualFileSystem.h"
+#include "llvm/Support/Chrono.h"
+#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/Path.h"
+#include <utility>
using namespace clang;
-void FileSystemStatCache::anchor() { }
+void FileSystemStatCache::anchor() {}
static void copyStatusToFileData(const vfs::Status &Status,
FileData &Data) {
OpenPOWER on IntegriCloud