mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Change interfaces to accept a FileCollectorBase
The FileCollectorBase is the common interface shared by different implementations. In lldb, we implement our own lazy variant that allows us to do the heavy lifting out-of-process instead of inside the signal handler.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
#include <system_error>
|
||||
|
||||
namespace llvm {
|
||||
class FileCollector;
|
||||
class FileCollectorBase;
|
||||
}
|
||||
|
||||
namespace clang {
|
||||
@@ -81,7 +81,7 @@ class DependencyTracker {
|
||||
public:
|
||||
explicit DependencyTracker(
|
||||
IntermoduleDepTrackingMode Mode,
|
||||
std::shared_ptr<llvm::FileCollector> FileCollector = {});
|
||||
std::shared_ptr<llvm::FileCollectorBase> FileCollector = {});
|
||||
|
||||
/// Adds a file as a dependency.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user