Revert "Revert "swift-api-digester: teach the tool to find framework-specific baselines from relative path""

This commit is contained in:
Xi Ge
2019-09-01 09:12:02 -07:00
parent 12b33f6530
commit cc6a246deb
8 changed files with 97 additions and 20 deletions

View File

@@ -230,7 +230,6 @@ public:
CIs.emplace_back(new CompilerInstance());
return *CIs.back();
}
template<class YAMLNodeTy, typename ...ArgTypes>
void diagnose(YAMLNodeTy node, Diag<ArgTypes...> ID,
typename detail::PassArgument<ArgTypes>::type... args) {
@@ -707,7 +706,6 @@ struct TypeInitInfo {
class SwiftDeclCollector: public VisibleDeclConsumer {
SDKContext &Ctx;
std::vector<std::unique_ptr<llvm::MemoryBuffer>> OwnedBuffers;
SDKNode *RootNode;
llvm::SetVector<Decl*> KnownDecls;
// Collected and sorted after we get all of them.