Remove MemberName::Print. (#3168)

This function hid the `Value::Print` function from the base class, and
provided different output. As far as I can tell, the only caller is the
implementation of `Value::Print`.
This commit is contained in:
Richard Smith
2023-08-29 23:36:59 +00:00
committed by GitHub
parent af0710ea16
commit b7245bce9a
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -761,7 +761,7 @@ void Value::Print(llvm::raw_ostream& out) const {
if (member_name.interface().has_value()) {
out << *member_name.interface().value();
}
out << "." << member_name;
out << "." << member_name.member();
if (member_name.base_type().has_value() &&
member_name.interface().has_value()) {
out << ")";