summaryrefslogtreecommitdiffstats
path: root/clang/include/clang/Lex/LiteralSupport.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2011-08-11 05:10:55 +0000
committerCraig Topper <craig.topper@gmail.com>2011-08-11 05:10:55 +0000
commit5265bb211d8bdc6a077deb6f7eaa2761034fe998 (patch)
tree30191693dee5d8e71c208b640540bb4d830480c9 /clang/include/clang/Lex/LiteralSupport.h
parent0c02e4eaeadec31e248c41aee403df9f0e2a8d92 (diff)
downloadbcm5719-llvm-5265bb211d8bdc6a077deb6f7eaa2761034fe998.tar.gz
bcm5719-llvm-5265bb211d8bdc6a077deb6f7eaa2761034fe998.zip
Raw string followup. Pass a couple StringRefs by value.
llvm-svn: 137301
Diffstat (limited to 'clang/include/clang/Lex/LiteralSupport.h')
-rw-r--r--clang/include/clang/Lex/LiteralSupport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Lex/LiteralSupport.h b/clang/include/clang/Lex/LiteralSupport.h
index 3a3782a3b25..5d7feb3a1a9 100644
--- a/clang/include/clang/Lex/LiteralSupport.h
+++ b/clang/include/clang/Lex/LiteralSupport.h
@@ -197,7 +197,7 @@ public:
private:
void init(const Token *StringToks, unsigned NumStringToks);
- void CopyStringFragment(const StringRef &Fragment);
+ void CopyStringFragment(StringRef Fragment);
};
} // end namespace clang
OpenPOWER on IntegriCloud