diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2015-03-30 15:42:36 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2015-03-30 15:42:36 +0000 |
commit | 075759aaddb1daf9aa801fc75a0909c510081f6d (patch) | |
tree | 88e604bd3bfca09b26acf2438fff4a82a41b4de6 /llvm/lib/Target/ARM/ARMSubtarget.cpp | |
parent | bbe1756a8c55bb0195bcbe257cfff4b73d94c8ac (diff) | |
download | bcm5719-llvm-075759aaddb1daf9aa801fc75a0909c510081f6d.tar.gz bcm5719-llvm-075759aaddb1daf9aa801fc75a0909c510081f6d.zip |
Remove more superfluous .str() and replace std::string concatenation with Twine.
Following r233392, http://llvm.org/viewvc/llvm-project?rev=233392&view=rev.
llvm-svn: 233555
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMSubtarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.cpp b/llvm/lib/Target/ARM/ARMSubtarget.cpp index e752fb05686..430b41028fe 100644 --- a/llvm/lib/Target/ARM/ARMSubtarget.cpp +++ b/llvm/lib/Target/ARM/ARMSubtarget.cpp @@ -190,7 +190,7 @@ void ARMSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) { ARM_MC::ParseARMTriple(TargetTriple.getTriple(), CPUString); if (!FS.empty()) { if (!ArchFS.empty()) - ArchFS = ArchFS + "," + FS.str(); + ArchFS = (Twine(ArchFS) + "," + FS).str(); else ArchFS = FS; } |