mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
make ModulePassContext conform to CustomStringConvertible
and let its description return a dump of the whole module. This is useful for debugging
This commit is contained in:
@@ -149,6 +149,8 @@ struct BridgedPostDomTree {
|
||||
struct BridgedPassContext {
|
||||
swift::SwiftPassInvocation * _Nonnull invocation;
|
||||
|
||||
std::string getModuleDescription() const;
|
||||
|
||||
SWIFT_IMPORT_UNSAFE
|
||||
BridgedChangeNotificationHandler asNotificationHandler() const {
|
||||
return {invocation};
|
||||
|
||||
Reference in New Issue
Block a user