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 [CMake] Use tools template for clangd and modularize 2017-07-11 00:18:07 +00:00
CoverageChecker.cpp Support: Have directory_iterator::status() return FindFirstFileEx/FindNextFile results on Windows. 2017-10-10 22:19:46 +00:00
CoverageChecker.h Fix memory leak by using unique_ptr 2017-02-11 05:25:21 +00:00
Modularize.cpp Update for PrintHelpMessage not calling exit. 2017-09-08 00:33:39 +00:00
Modularize.h Added mechanism to modularize for doing a compilation precheck 2015-07-10 00:37:25 +00:00
ModularizeUtilities.cpp Support: Have directory_iterator::status() return FindFirstFileEx/FindNextFile results on Windows. 2017-10-10 22:19:46 +00:00
ModularizeUtilities.h Fixes for Clang API change 2017-01-06 01:09:06 +00:00
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 Added -block-check-header-list-only option. This is a work-around for private includes that purposefully get included inside blocks. 2015-02-11 16:58:36 +00:00