IDE: Break CMake cycle involving IDE, FrontendTool, Frontend, and Migrator.

These libraries formed a strongly connected component in the CMake build graph. The weakest link I could find was from IDE to FrontendTool and Frontend, which was necessitated by the `CompileInstance` class (https://github.com/apple/swift/pull/40645). I moved a few files out of IDE into a new IDETools library to break the cycle.
This commit is contained in:
Allan Shortlidge
2022-10-26 22:21:04 -07:00
parent b0de482d82
commit 58d82f03f6
19 changed files with 28 additions and 16 deletions

View File

@@ -16,7 +16,7 @@
#include "swift/Frontend/Frontend.h"
#include "swift/Frontend/PrintingDiagnosticConsumer.h"
#include "swift/IDE/ConformingMethodList.h"
#include "swift/IDE/CompletionInstance.h"
#include "swift/IDETool/CompletionInstance.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Comment.h"
#include "clang/AST/Decl.h"