llvm-project/clang/lib/Rewrite/Core
Alexander Kornienko 33a35dff83 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

llvm-svn: 183236
2013-06-04 16:58:03 +00:00
..
CMakeLists.txt
DeltaTree.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
HTMLRewrite.cpp Added Lexer::getBufferEnd(). 2013-06-04 16:58:03 +00:00
Makefile
RewriteRope.cpp
Rewriter.cpp Use only explicit bool conversion operator 2013-05-15 07:37:26 +00:00
TokenRewriter.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00