summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-06-26 04:58:39 +0000
committerCraig Topper <craig.topper@gmail.com>2014-06-26 04:58:39 +0000
commit9d5583ef0a908583ef276f4710dd83813cf04d17 (patch)
treee7e39221f1b418c9f0bab396385f8143e029eda7 /clang/lib/Lex/Preprocessor.cpp
parent6098b2f5199c90ac36fda3cf6f049b72aacee27d (diff)
downloadbcm5719-llvm-9d5583ef0a908583ef276f4710dd83813cf04d17.tar.gz
bcm5719-llvm-9d5583ef0a908583ef276f4710dd83813cf04d17.zip
Convert StringLiteralParser constructor to use ArrayRef instead of a pointer and count.
llvm-svn: 211763
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r--clang/lib/Lex/Preprocessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp
index aead148b66b..4a11803aa95 100644
--- a/clang/lib/Lex/Preprocessor.cpp
+++ b/clang/lib/Lex/Preprocessor.cpp
@@ -757,7 +757,7 @@ bool Preprocessor::FinishLexStringLiteral(Token &Result, std::string &String,
} while (Result.is(tok::string_literal));
// Concatenate and parse the strings.
- StringLiteralParser Literal(&StrToks[0], StrToks.size(), *this);
+ StringLiteralParser Literal(StrToks, *this);
assert(Literal.isAscii() && "Didn't allow wide strings in");
if (Literal.hadError)
OpenPOWER on IntegriCloud