Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
27b09ac9f7a4b2555bb9adda3568f3ba6264a63e
/
lib
/
Rewrite
/
Rewriter.cpp
2c3352b
Add #include (introduced by dependence on DeclGroup)
by Ted Kremenek
· 16 years ago
b5cd09a
add a new Rewriter::getRewritenText method that returns the text for a range
by Chris Lattner
· 16 years ago
a95d375
Patch by Csaba Hruska!
by Ted Kremenek
· 16 years ago
54bd7cb
add an assertion
by Chris Lattner
· 16 years ago
9ed7cfd
fix an inconsistency computing offsets that caused a crash on rewrite-nest.m
by Chris Lattner
· 16 years ago
e5cd857
remove ifdefs
by Chris Lattner
· 17 years ago
febe719
Change the RewriteRope::Chunks data structure from an std::list into
by Chris Lattner
· 17 years ago
7725788
remove ifdefs
by Chris Lattner
· 17 years ago
5c9dc5a
Do an initial hack at replacing one of the incredibly inefficient
by Chris Lattner
· 17 years ago
886c8db
Added variant of "InsertText" in the Rewriter to support inserting text both
by Ted Kremenek
· 17 years ago
88ad97f
Bug fix in RewriteBuffer::getMappedOffset: potentially multiple deltas
by Ted Kremenek
· 17 years ago
bda0b62
Make a major restructuring of the clang tree: introduce a top-level
by Chris Lattner
· 17 years ago
[Renamed from Rewrite/Rewriter.cpp]
aadaf78
add some helper methods for removing and replacing text, this makes the
by Chris Lattner
· 17 years ago
dcbc5b0
Make rewriter::inserttext return a bool to indicate if it failed.
by Chris Lattner
· 17 years ago
d3c25dd
add some assertions so that the rewriter dies violently with a useful
by Chris Lattner
· 17 years ago
0bc735f
Don't attribute in file headers anymore. See llvmdev for the
by Chris Lattner
· 17 years ago
21d1aed
remove some temporary code.
by Chris Lattner
· 17 years ago
fab21b6
add a getAtOffset() member to simplify some code.
by Chris Lattner
· 17 years ago
8b0c2f6
Add a new RewriteRope data structure which is a smarter way to represent the text
by Chris Lattner
· 17 years ago
d425a27
minor cleanups
by Chris Lattner
· 17 years ago
74a0c77
use std::copy instead of memcpy for abstraction.
by Chris Lattner
· 17 years ago
116c089
Fix a rewriter bug that fariborz hit, when an @interface was the very very very
by Chris Lattner
· 17 years ago
24abb10
Fix an inverted conditional,
by Fariborz Jahanian
· 17 years ago
54a2f07
Expose InsertText, fixing an oversight.
by Chris Lattner
· 17 years ago
d6690b2
simplify change.
by Chris Lattner
· 17 years ago
075eb6e
Fix a bug steve noticed when handling nested rewrites. We now turn this:
by Chris Lattner
· 17 years ago
01c5748
Add new API to rewrite one stmt/expr with another.
by Chris Lattner
· 17 years ago
9d62a5b
The size returned by Rewriter::getRangeSize should include
by Chris Lattner
· 17 years ago
674af95
Fix location processing of @encode: the range should include the @ sign.
by Chris Lattner
· 17 years ago
311ff02
Add a new Rewriter::getRangeSize method.
by Chris Lattner
· 17 years ago
2c64b7b
Push the rewriter forward a bit more. Now it rewrites
by Chris Lattner
· 17 years ago
57c337d
haha, my devious plot is complete:
by Chris Lattner
· 17 years ago
03b0710
With this I can now insert stuff before tabs, woo.
by Chris Lattner
· 17 years ago
88d0ed0
Woo, tab deletion now works. Next lets see if we can insert stuff.
by Chris Lattner
· 17 years ago
7c23960
another step forward in rewriter stuff. This still has
by Chris Lattner
· 17 years ago
8a12c27
Push the rewriting APIs along. Build a trivial client that replaces tabs
by Chris Lattner
· 17 years ago
8bd12b8
Initial checkin of rewriter interface. It is just stubbed out for now.
by Chris Lattner
· 17 years ago