]> granicus.if.org Git - clang/commit
In html::EscapeText, instead of going through the rewriter with
authorChris Lattner <sabre@nondot.org>
Wed, 16 Apr 2008 04:33:23 +0000 (04:33 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 16 Apr 2008 04:33:23 +0000 (04:33 +0000)
commit735271479ac57c27f744806859efd5b001dea248
treed7a958adca406e76f17dddd9b4848c3f46329d9b
parent97b7f26a92d87e514530a5b652460190ce48c974
In html::EscapeText, instead of going through the rewriter with
a SourceLocation to get a RewriteBuffer, poke the RewriteBuffer
with an offset directly.  THis is no faster, but results in
cleaner code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49774 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Rewrite/Rewriter.h
lib/Rewrite/HTMLRewrite.cpp