hanchenye-llvm-project/clang-tools-extra/modularize
Peter Collingbourne 0dfdb44797 Support: Have directory_iterator::status() return FindFirstFileEx/FindNextFile results on Windows.
This allows clients to avoid an unnecessary fs::status() call on each
directory entry. Because the information returned by FindFirstFileEx
is a subset of the information returned by a regular status() call,
I needed to extract a base class from file_status that contains only
that information.

On my machine, this reduces the time required to enumerate a ThinLTO
cache directory containing 520k files from almost 4 minutes to less
than 2 seconds.

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

llvm-svn: 315378
2017-10-10 22:19:46 +00:00
..
CMakeLists.txt
CoverageChecker.cpp Support: Have directory_iterator::status() return FindFirstFileEx/FindNextFile results on Windows. 2017-10-10 22:19:46 +00:00
CoverageChecker.h
Modularize.cpp Update for PrintHelpMessage not calling exit. 2017-09-08 00:33:39 +00:00
Modularize.h
ModularizeUtilities.cpp Support: Have directory_iterator::status() return FindFirstFileEx/FindNextFile results on Windows. 2017-10-10 22:19:46 +00:00
ModularizeUtilities.h
ModuleAssistant.cpp [Support] Rename tool_output_file to ToolOutputFile, NFC 2017-09-23 01:03:17 +00:00
PreprocessorTracker.cpp [NFC] Sync function call with changes to interface made in r314593. 2017-09-30 14:36:00 +00:00
PreprocessorTracker.h