aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Rewrite
AgeCommit message (Expand)Author
2008-04-23fix a rewriter crash on zero length files.Chris Lattner
2008-04-20html::EscapeText (using the Rewriter) now replaces tabs by default.Ted Kremenek
2008-04-18Provide a version of html::HighlightMacros that takes a Preprocessor&.Ted Kremenek
2008-04-17class Preprocessor: Now owns the "predefines" char*; it deletes [] it in its ...Ted Kremenek
2008-04-16Make HighlightRange correctly handle multi-line ranges. This causes us to Chris Lattner
2008-04-16add a new HighlightRange API, it doesn't handle multiline rangesChris Lattner
2008-04-16split syntax highlighting of macros from keywords and comments,Chris Lattner
2008-04-16Add a mode of hackily syntax highlighting comments. This has a number ofChris Lattner
2008-04-16In html::EscapeText, instead of going through the rewriter withChris Lattner
2008-04-16make a method public.Chris Lattner
2008-04-16speed up -emit-html in a release build by 6.5% by avoiding std::string.Chris Lattner
2008-04-14Add a bunch of comments, move RewriteRope::MakeRopeString out of line.Chris Lattner
2008-04-14move a ton of code out of line, from RewriteRope.h -> RewriteRope.cppChris Lattner
2008-04-14remove ifdefsChris Lattner
2008-04-14Change the RewriteRope::Chunks data structure from an std::list intoChris Lattner
2008-04-12Default argument cleanups and minor improvements, patch byChris Lattner
2008-04-12move the DeltaTree implementation out of line, remove debugging printfs etc.Chris Lattner
2008-04-12remove ifdefsChris Lattner
2008-04-12Do an initial hack at replacing one of the incredibly inefficient Chris Lattner
2008-04-08Don't expand tabs in EscapeText, but rather expand them when writing outTed Kremenek
2008-04-06don't dereference hte end iterator when inserting at end of buffer.Chris Lattner
2008-03-27Add html::EscapeText for std::string; use this function to escape text in mes...Ted Kremenek
2008-03-19Minor speed tweak per Chris's suggestion: use &S[0] instead of S.c_str().Ted Kremenek
2008-03-19Integrated some of Chris's comments; check for an empty string in InsertStrXXX()Ted Kremenek
2008-03-19Moved generation of html header/footer with builtin CSS to the rewriter library.Ted Kremenek
2008-03-19Added InsertStrXXX/InsertCStrXXX methods to the Rewriter to provide a simplerTed Kremenek
2008-03-19More cleanups to HTML rewriter API: remove the InsertTag method; was too comp...Ted Kremenek
2008-03-18More HTML rewriter cleanups. Preliminary CSS support in code pretty-printing.Ted Kremenek
2008-03-18Some cleanups to the HTMLRewrite API. Added support for printing out lineTed Kremenek
2008-03-18Modified "InsertTag" (HTML rewriter) to have an optional "OutermostTag" flag toTed Kremenek
2008-03-18Added the beginning of a set of rewriter functions for pretty-printing sourceTed Kremenek
2008-03-18Added variant of "InsertText" in the Rewriter to support inserting text bothTed Kremenek
2008-03-18Added method "getSourceMgr" to class Rewriter.Ted Kremenek
2008-03-10Add some missing #includes for GCC mainline, patch by Shantonu Sen!Chris Lattner
2008-01-31add some helper methods for removing and replacing text, this makes theChris Lattner
2008-01-31Make rewriter::inserttext return a bool to indicate if it failed.Chris Lattner
2007-12-29Don't attribute in file headers anymore. See llvmdev for theChris Lattner
2007-11-08add a getAtOffset() member to simplify some code.Chris Lattner
2007-11-08add a fixme.Chris Lattner
2007-11-08significantly simplify the implementation of RewriteRope by changing theChris Lattner
2007-11-08improve MakeRopeString to avoid doing a malloc for every 2-character string Chris Lattner
2007-11-08Simplify interface to MakeRopeString.Chris Lattner
2007-11-08Add a new RewriteRope data structure which is a smarter way to represent the ...Chris Lattner
2007-11-08abstract out buffer type a bit betterChris Lattner
2007-10-17Add new API to rewrite one stmt/expr with another.Chris Lattner
2007-10-16Add a new Rewriter::getRangeSize method.Chris Lattner
2007-10-16Push the rewriter forward a bit more. Now it rewritesChris Lattner
2007-10-13another step forward in rewriter stuff. This still hasChris Lattner
2007-10-12add comments.Chris Lattner
2007-10-11Push the rewriting APIs along. Build a trivial client that replaces tabsChris Lattner