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.
Paths
| Differential D58924
Replace clang::FileData with llvm::vfs::Status ClosedPublic Authored by harlanhaskins on Mar 4 2019, 1:58 PM.
Details Summary FileData was only ever used as a container for the values in The InPCH member was also always set to false, and unused.
Diff Detail
Event TimelineComment Actions LGTM, although I made a small suggestion for clarity. FYI InPCH was used by PTH, which was removed a couple of months ago.
This revision is now accepted and ready to land.Mar 4 2019, 6:05 PM harlanhaskins added inline comments.
Closed by commit rL355368: Replace clang::FileData with llvm::vfs::Status (authored by harlanhaskins). · Explain WhyMar 4 2019, 6:26 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 189258 cfe/trunk/include/clang/Basic/FileManager.h
cfe/trunk/include/clang/Basic/FileSystemStatCache.h
cfe/trunk/lib/Basic/FileManager.cpp
cfe/trunk/lib/Basic/FileSystemStatCache.cpp
cfe/trunk/lib/Frontend/TextDiagnostic.cpp
cfe/trunk/unittests/Basic/FileManagerTest.cpp
|