summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/YAMLParser.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-08-30 16:48:02 +0000
committerCraig Topper <craig.topper@gmail.com>2014-08-30 16:48:02 +0000
commit6dc4a8bc2c307022e0c330d531109d325fc044cf (patch)
treed10033092d22061f48f763822a09018fce5de6eb /llvm/lib/Support/YAMLParser.cpp
parente98cdf9b773f7bce3531345cfda1fa1eedf2fca7 (diff)
downloadbcm5719-llvm-6dc4a8bc2c307022e0c330d531109d325fc044cf.tar.gz
bcm5719-llvm-6dc4a8bc2c307022e0c330d531109d325fc044cf.zip
Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already.
llvm-svn: 216820
Diffstat (limited to 'llvm/lib/Support/YAMLParser.cpp')
-rw-r--r--llvm/lib/Support/YAMLParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/YAMLParser.cpp b/llvm/lib/Support/YAMLParser.cpp
index a44397ff0ee..4688ff173df 100644
--- a/llvm/lib/Support/YAMLParser.cpp
+++ b/llvm/lib/Support/YAMLParser.cpp
@@ -259,7 +259,7 @@ namespace yaml {
/// @brief Scans YAML tokens from a MemoryBuffer.
class Scanner {
public:
- Scanner(const StringRef Input, SourceMgr &SM);
+ Scanner(StringRef Input, SourceMgr &SM);
Scanner(MemoryBufferRef Buffer, SourceMgr &SM_);
/// @brief Parse the next token and return it without popping it.
OpenPOWER on IntegriCloud