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 | 4654818441b2653140055e9f2726cdb30c20eecd (patch) | |
| tree | 9743980a087b3aab6f169fcb3469ee1a8c7f2340 /lib/Basic/FileSystemStatCache.cpp | |
| parent | c4bfd75d786a2a77c779cee6976534f37202ac21 (diff) | |
[Basic] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileSystemStatCache.cpp')
| -rw-r--r-- | lib/Basic/FileSystemStatCache.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Basic/FileSystemStatCache.cpp b/lib/Basic/FileSystemStatCache.cpp index 799df1d3c3..ebee32670e 100644 --- a/lib/Basic/FileSystemStatCache.cpp +++ b/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) { |
