From 6dc4a8bc2c307022e0c330d531109d325fc044cf Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sat, 30 Aug 2014 16:48:02 +0000 Subject: 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 --- llvm/lib/Support/YAMLParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support/YAMLParser.cpp') 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. -- cgit v1.2.3