summaryrefslogtreecommitdiffstats
path: root/clang/lib/Rewrite/Rewriter.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Do an initial hack at replacing one of the incredibly inefficient Chris Lattner2008-04-121-2/+13
| | | | | | | | | | | | | | | (but simple!) datastructures in the rewriter with a more complex but more efficient one. This replaces the Deltas vector with a specialized BTree that makes delta lookups much more efficient. This speeds up -emit-html on a 500K .i file from 157.154 to 27.127 seconds on my machine (5.8x). While this code is functional, it isn't very pretty, I have much refactoring planned for it, and will remove the USE_VECTOR ifdef. Stay tuned. llvm-svn: 49586
* Added variant of "InsertText" in the Rewriter to support inserting text bothTed Kremenek2008-03-181-5/+7
| | | | | | *before* and after a specific location. llvm-svn: 48504
* Bug fix in RewriteBuffer::getMappedOffset: potentially multiple deltas Ted Kremenek2008-03-181-4/+6
| | | | | | | need to be skipped over when AfterInserts == true, as multiple deltas may share the same FileLoc. llvm-svn: 48503
* Make a major restructuring of the clang tree: introduce a top-levelChris Lattner2008-03-151-0/+258
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
OpenPOWER on IntegriCloud