llvm.org GIT mirror llvm / b74978f
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 Chris Lattner 10 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
130130 }
131131
132132 // Add the piece that we already scanned through.
133 OutName.append(X.begin(), I);
133 OutName.append(X.begin()+!NeedPrefix, I);
134134
135135 // Otherwise, construct the string the expensive way.
136136 for (StringRef::iterator E = X.end(); I != E; ++I) {