]> granicus.if.org Git - clang/commit
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)
commitfe7e41cdbe9d593a101884b245482030dbc0f7da
tree1c8c2fd713a10375b5183900f9956070a9fc2d20
parentf832213b09546159e9639739afbb5ddc0b55d330
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@355368 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/FileManager.h
include/clang/Basic/FileSystemStatCache.h
lib/Basic/FileManager.cpp
lib/Basic/FileSystemStatCache.cpp
lib/Frontend/TextDiagnostic.cpp
unittests/Basic/FileManagerTest.cpp