mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
swift-api-digester: teach the tool to find framework-specific baselines from relative path
The framework baselines are installed at 'lib/swift/FrameworkABIBaseline' and the tool is inside 'bin'. This patch teaches the executable to locate baselines from the relative path. In addition, this patch moves the stdlib ABI/API baselines to the canonical location so we don't have to check the stability of the stdlib using a different mechanism from other Swift frameworks.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user