projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
obj2yaml: Use the correct relocation type for different machine types
[oota-llvm.git]
/
lib
/
Option
/
ArgList.cpp
diff --git
a/lib/Option/ArgList.cpp
b/lib/Option/ArgList.cpp
index 15f7e8bf4b8262c50389914f72d49a0d6427515f..fecd2371735922e6fb73016f9121b65dea9ed2a4 100644
(file)
--- a/
lib/Option/ArgList.cpp
+++ b/
lib/Option/ArgList.cpp
@@
-291,8
+291,7
@@
void ArgList::ClaimAllArgs() const {
const char *ArgList::MakeArgString(const Twine &T) const {
SmallString<256> Str;
- T.toVector(Str);
- return MakeArgString(Str.str());
+ return MakeArgString(T.toStringRef(Str));
}
const char *ArgList::GetOrMakeJoinedArgString(unsigned Index,