diff options
Diffstat (limited to 'lib/Lex/TokenLexer.cpp')
-rw-r--r-- | lib/Lex/TokenLexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/TokenLexer.cpp b/lib/Lex/TokenLexer.cpp index 8f68765543..dbd1b8400d 100644 --- a/lib/Lex/TokenLexer.cpp +++ b/lib/Lex/TokenLexer.cpp @@ -441,7 +441,7 @@ bool TokenLexer::PasteTokens(Token &Tok) { bool Invalid = false; const char *ScratchBufStart - = SourceMgr.getBufferData(LocFileID, &Invalid).first; + = SourceMgr.getBufferData(LocFileID, &Invalid).data(); if (Invalid) return false; |