We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b54e8b commit c07b3b0Copy full SHA for c07b3b0
include/swift/AST/SubstitutionMap.h
@@ -286,6 +286,12 @@ class SubstitutionMap {
286
Type lookupSubstitution(CanSubstitutableType type) const;
287
};
288
289
+inline llvm::raw_ostream &operator<<(llvm::raw_ostream &OS,
290
+ const SubstitutionMap &subs) {
291
+ subs.dump(OS);
292
+ return OS;
293
+}
294
+
295
/// A function object suitable for use as a \c TypeSubstitutionFn that
296
/// queries an underlying \c SubstitutionMap.
297
struct QuerySubstitutionMap {
0 commit comments