diff options
| author | Alexander Kornienko <alexfh@google.com> | 2013-06-04 16:58:03 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2013-06-04 16:58:03 +0000 |
| commit | 49e1d9814a34e4024a347c2fce8e9567c40e6bf5 (patch) | |
| tree | 59b2569ab97ef19ef0ce59f7e784f87aa451f3fc /lib/CodeGen/CGExprConstant.cpp | |
| parent | 48eff6c3512fd6c768072b05ab4c287c7719072b (diff) | |
| download | clang-49e1d9814a34e4024a347c2fce8e9567c40e6bf5.tar.gz clang-49e1d9814a34e4024a347c2fce8e9567c40e6bf5.tar.bz2 clang-49e1d9814a34e4024a347c2fce8e9567c40e6bf5.tar.xz | |
Added Lexer::getBufferEnd().
Summary:
There's Lexer::getBufferStart(), and we need getBufferEnd() to access
the whole input buffer in clang::format::reformat. We don't want to
rely on the fact that the Lexer::BufferEnd always points to '\0', as there can
be embedded '\0's as well.
Reviewers: jordan_rose
Reviewed By: jordan_rose
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D916
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183236 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
