mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 01:43:06 +00:00
don't add the \1 to the name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93304 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f8cc26be4
commit
b74978f8e5
@ -131,7 +131,7 @@ void Mangler::makeNameProper(SmallVectorImpl<char> &OutName,
|
||||
}
|
||||
|
||||
// Add the piece that we already scanned through.
|
||||
OutName.append(X.begin(), I);
|
||||
OutName.append(X.begin()+!NeedPrefix, I);
|
||||
|
||||
// Otherwise, construct the string the expensive way.
|
||||
for (StringRef::iterator E = X.end(); I != E; ++I) {
|
||||
|
Loading…
Reference in New Issue
Block a user