mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Move SourceEntityWalker into libAST NFC
It fits right in among our other AST walkers and lets us use it lower in the stack than libIDE.
This commit is contained in:
@@ -16,10 +16,10 @@
|
||||
#include "SourceKit/Support/Tracing.h"
|
||||
#include "SourceKit/Support/UIdent.h"
|
||||
|
||||
#include "swift/AST/SourceEntityWalker.h"
|
||||
#include "swift/Basic/SourceManager.h"
|
||||
#include "swift/Frontend/Frontend.h"
|
||||
#include "swift/Frontend/PrintingDiagnosticConsumer.h"
|
||||
#include "swift/IDE/SourceEntityWalker.h"
|
||||
#include "swift/Serialization/SerializedModuleLoader.h"
|
||||
// This is included only for createLazyResolver(). Move to different header ?
|
||||
#include "swift/Sema/IDETypeChecking.h"
|
||||
@@ -84,7 +84,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class IndexSwiftASTWalker : public ide::SourceEntityWalker {
|
||||
class IndexSwiftASTWalker : public SourceEntityWalker {
|
||||
IndexingConsumer &IdxConsumer;
|
||||
SourceManager &SrcMgr;
|
||||
unsigned BufferID;
|
||||
|
||||
Reference in New Issue
Block a user