Merge pull request #27950 from brentdax/dumpster-fire

[NFC] Standardize dump() methods in frontend
This commit is contained in:
Brent Royal-Gordon
2019-10-31 20:36:26 -07:00
committed by GitHub
103 changed files with 425 additions and 361 deletions

View File

@@ -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 {