mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Delete ReferencedNameTracker
This commit is contained in:
@@ -137,9 +137,6 @@ private:
|
||||
/// This is set during type checking.
|
||||
TypeRefinementContext *TRC = nullptr;
|
||||
|
||||
/// If non-null, used to track name lookups that happen within this file.
|
||||
Optional<ReferencedNameTracker> RequestReferencedNames;
|
||||
|
||||
/// Either the class marked \@NS/UIApplicationMain or the synthesized FuncDecl
|
||||
/// that calls main on the type marked @main.
|
||||
Decl *MainDecl = nullptr;
|
||||
@@ -439,25 +436,6 @@ public:
|
||||
|
||||
virtual bool walk(ASTWalker &walker) override;
|
||||
|
||||
ReferencedNameTracker *getRequestBasedReferencedNameTracker() {
|
||||
return RequestReferencedNames ? RequestReferencedNames.getPointer() : nullptr;
|
||||
}
|
||||
const ReferencedNameTracker *getRequestBasedReferencedNameTracker() const {
|
||||
return RequestReferencedNames ? RequestReferencedNames.getPointer() : nullptr;
|
||||
}
|
||||
|
||||
/// Creates and installs the referenced name trackers in this source file.
|
||||
///
|
||||
/// This entrypoint must be called before incremental compilation can proceed,
|
||||
/// else reference dependencies will not be registered.
|
||||
void createReferencedNameTracker();
|
||||
|
||||
/// Retrieves the appropriate referenced name tracker instance.
|
||||
///
|
||||
/// If incremental dependencies tracking is not enabled or \c createReferencedNameTracker()
|
||||
/// has not been invoked on this source file, the result is \c nullptr.
|
||||
const ReferencedNameTracker *getConfiguredReferencedNameTracker() const;
|
||||
|
||||
/// The buffer ID for the file that was imported, or None if there
|
||||
/// is no associated buffer.
|
||||
Optional<unsigned> getBufferID() const {
|
||||
|
||||
Reference in New Issue
Block a user