diff options
Diffstat (limited to 'clang/lib/Lex/TokenLexer.cpp')
-rw-r--r-- | clang/lib/Lex/TokenLexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/TokenLexer.cpp b/clang/lib/Lex/TokenLexer.cpp index 8f687655430..dbd1b8400de 100644 --- a/clang/lib/Lex/TokenLexer.cpp +++ b/clang/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; |