Skip to content

Commit a75b63a

Browse files
Merge pull request #77920 from AnthonyLatsis/fissidens
AST: Rename debugger pretty printer `Type::dumpPrint` to `print`
2 parents a95785c + 5730e4e commit a75b63a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/swift/AST/Types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,7 @@ class alignas(1 << TypeAlignInBits) TypeBase
14731473
SWIFT_DEBUG_DUMP;
14741474
void dump(raw_ostream &os, unsigned indent = 0) const;
14751475

1476-
SWIFT_DEBUG_DUMPER(dumpPrint());
1476+
SWIFT_DEBUG_DUMPER(print());
14771477
void print(raw_ostream &OS,
14781478
const PrintOptions &PO = PrintOptions()) const;
14791479
void print(ASTPrinter &Printer, const PrintOptions &PO) const;

lib/AST/ASTPrinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7823,7 +7823,7 @@ std::string TypeBase::getStringAsComponent(const PrintOptions &PO) const {
78237823
return OS.str();
78247824
}
78257825

7826-
void TypeBase::dumpPrint() const {
7826+
void TypeBase::print() const {
78277827
print(llvm::errs());
78287828
llvm::errs() << '\n';
78297829
}

0 commit comments

Comments
 (0)