llvm-project/clang/lib/Rewrite
David Blaikie 2eabcc988f Simplify EnterTokenStream API to make it more robust for memory management
While this won't help fix things like the bug that r260219 addressed, it
seems like good tidy up to have anyway.

(it might be nice if "makeArrayRef" always produced a MutableArrayRef &
let it decay to an ArrayRef when needed - then I'd use that for the
MutableArrayRefs in this patch)

If we had std::dynarray I'd use that instead of unique_ptr+size_t,
ideally (but then it'd have to be threaded down through the Preprocessor
all the way - no idea how painful that would be)

llvm-svn: 260246
2016-02-09 18:52:09 +00:00
..
CMakeLists.txt Delete unused method and clangAST dependency it required. 2014-10-26 14:26:55 +00:00
DeltaTree.cpp Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
HTMLRewrite.cpp Simplify EnterTokenStream API to make it more robust for memory management 2016-02-09 18:52:09 +00:00
RewriteRope.cpp Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:58:30 +00:00
Rewriter.cpp Make local function isWhitespaceExceptNL static instead of in anonymous namespace 2015-07-28 04:54:03 +00:00
TokenRewriter.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00