Replace clang::FileData with llvm::vfs::Status
authorHarlan Haskins <harlan@harlanhaskins.com>
Tue, 5 Mar 2019 02:27:12 +0000 (02:27 +0000)
committerHarlan Haskins <harlan@harlanhaskins.com>
Tue, 5 Mar 2019 02:27:12 +0000 (02:27 +0000)
commit06f64d53ae5f616e5b860783991844665556064d
tree4a4acedb96226ed9fdd28f8a1096b4f3fb9d6592
parent1c014d75b4cdcfab5cef304e5f9c5def96468751
Replace clang::FileData with llvm::vfs::Status

Summary:
FileData was only ever used as a container for the values in
llvm::vfs::Status, so they might as well be consolidated.

The `InPCH` member was also always set to false, and unused.

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58924

llvm-svn: 355368
clang/include/clang/Basic/FileManager.h
clang/include/clang/Basic/FileSystemStatCache.h
clang/lib/Basic/FileManager.cpp
clang/lib/Basic/FileSystemStatCache.cpp
clang/lib/Frontend/TextDiagnostic.cpp
clang/unittests/Basic/FileManagerTest.cpp