forked from OSchip/llvm-project
cf593d224c
`SourceManager::getFileEntryRefForID`'s remaining callers just want the filename component, which is coming from the `FileInfo`. Replace the API with `getNonBuiltinFilenameForID`, which also removes another use of `FileEntryRef::FileEntryRef` outside of `FileManager`. Both callers are collecting file dependencies, and one of them relied on this API to filter out built-ins (as exposed by clang/test/ClangScanDeps/modules-full.cpp). It seems nice to continue providing that service. Differential Revision: https://reviews.llvm.org/D89508 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
DependencyScanningFilesystem.cpp | ||
DependencyScanningService.cpp | ||
DependencyScanningTool.cpp | ||
DependencyScanningWorker.cpp | ||
ModuleDepCollector.cpp |