mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-24 09:29:42 +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