Skip to content

Commit a0fbeb9

Browse files
authored
Merge pull request #29565 from akyrtzi/parser-only-build-fix-link-error
2 parents a4dbe67 + 5c956ba commit a0fbeb9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/AST/ASTDumper.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -3762,6 +3762,10 @@ void Type::dump() const {
37623762
}
37633763

37643764
void Type::dump(raw_ostream &os, unsigned indent) const {
3765+
#if SWIFT_BUILD_ONLY_SYNTAXPARSERLIB
3766+
return; // not needed for the parser library.
3767+
#endif
3768+
37653769
PrintType(os, indent).visit(*this, "");
37663770
os << "\n";
37673771
}

0 commit comments

Comments
 (0)