projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pass StringRef by value.
[oota-llvm.git]
/
include
/
llvm
/
Support
/
raw_ostream.h
diff --git
a/include/llvm/Support/raw_ostream.h
b/include/llvm/Support/raw_ostream.h
index 66d6aaa1dff21971cc584ee71ee958863c0bcd83..a78e81fe955ffe92e7bf0017c595cf36278dfcbb 100644
(file)
--- a/
include/llvm/Support/raw_ostream.h
+++ b/
include/llvm/Support/raw_ostream.h
@@
-169,7
+169,7
@@
public:
return *this;
}
- raw_ostream &operator<<(
const StringRef &
Str) {
+ raw_ostream &operator<<(
StringRef
Str) {
// Inline fast path, particularly for strings with a known length.
size_t Size = Str.size();