projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove more superfluous .str() and replace std::string concatenation with Twine.
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
ARMSubtarget.cpp
diff --git
a/lib/Target/ARM/ARMSubtarget.cpp
b/lib/Target/ARM/ARMSubtarget.cpp
index e752fb056863e0cc403ba70dd4e36ae811320727..430b41028fe203942120f111f8f9bd83cba10dbd 100644
(file)
--- a/
lib/Target/ARM/ARMSubtarget.cpp
+++ b/
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;
}