diff options
author | Eugene Zelenko <eugene.zelenko@gmail.com> | 2018-03-28 22:09:09 +0000 |
---|---|---|
committer | Eugene Zelenko <eugene.zelenko@gmail.com> | 2018-03-28 22:09:09 +0000 |
commit | 5a52011c4167049a75a85a4778df408c415889a1 (patch) | |
tree | fb401c388662fcd67e55f26c2e27f425c4579a3f /clang/lib/Basic/FileSystemStatCache.cpp | |
parent | b276621d3d732daaf3454666a8b4fe50a9d2010d (diff) | |
download | bcm5719-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.cpp | 7 |
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) { |