mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Improve indentation in debugging output
This commit is contained in:
@@ -1708,7 +1708,7 @@ public:
|
||||
SWIFT_DEBUG_DUMP;
|
||||
|
||||
/// Dump this solution.
|
||||
void dump(raw_ostream &OS) const LLVM_ATTRIBUTE_USED;
|
||||
void dump(raw_ostream &OS, unsigned indent) const LLVM_ATTRIBUTE_USED;
|
||||
};
|
||||
|
||||
/// Describes the differences between several solutions to the same
|
||||
@@ -6433,9 +6433,10 @@ public:
|
||||
bool isSymmetricOperator() const;
|
||||
bool isUnaryOperator() const;
|
||||
|
||||
void print(llvm::raw_ostream &Out, SourceManager *SM, unsigned indent = 0) const {
|
||||
void print(llvm::raw_ostream &Out, SourceManager *SM,
|
||||
unsigned indent = 0) const {
|
||||
Out << "disjunction choice ";
|
||||
Choice->print(Out, SM);
|
||||
Choice->print(Out, SM, indent);
|
||||
}
|
||||
|
||||
operator Constraint *() { return Choice; }
|
||||
|
||||
Reference in New Issue
Block a user