mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #27950 from brentdax/dumpster-fire
[NFC] Standardize dump() methods in frontend
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#ifndef SWIFT_AST_PROTOCOLCONFORMANCEREF_H
|
||||
#define SWIFT_AST_PROTOCOLCONFORMANCEREF_H
|
||||
|
||||
#include "swift/Basic/Debug.h"
|
||||
#include "llvm/ADT/Hashing.h"
|
||||
#include "llvm/ADT/PointerUnion.h"
|
||||
#include "swift/AST/Requirement.h"
|
||||
@@ -129,7 +130,7 @@ public:
|
||||
getAssociatedConformance(Type origType, Type dependentType,
|
||||
ProtocolDecl *requirement) const;
|
||||
|
||||
void dump() const;
|
||||
SWIFT_DEBUG_DUMP;
|
||||
void dump(llvm::raw_ostream &out, unsigned indent = 0) const;
|
||||
|
||||
bool operator==(ProtocolConformanceRef other) const {
|
||||
|
||||
Reference in New Issue
Block a user