File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ class SafeNames::
84
84
OverloadedOperatorKind>();
85
85
if (OOK == OverloadedOperatorKind::OO_None)
86
86
return I.Name ;
87
- temp_ = ' @ ' ;
87
+ temp_ = ' 0 ' ;
88
88
temp_.append (getSafeOperatorName (OOK));
89
89
return temp_;
90
90
}
@@ -118,9 +118,9 @@ class SafeNames::
118
118
{
119
119
std::string s;
120
120
s.assign (prefix_);
121
+ s.append (std::to_string (i + 1 ));
122
+ // s.push_back('@');
121
123
s.append (getSafe (**it0));
122
- s.push_back (' @' );
123
- s.append (std::to_string (i));
124
124
map.try_emplace (
125
125
llvm::toStringRef (it0[i]->id ),
126
126
std::move (s));
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ class SafeNames
34
34
35
35
llvm::StringRef
36
36
get (SymbolID const & id) const noexcept ;
37
+
38
+ llvm::StringRef
39
+ getOverload (
40
+ SymbolID const & id);
37
41
};
38
42
39
43
} // adoc
You can’t perform that action at this time.
0 commit comments