summaryrefslogtreecommitdiffstats
path: root/clang/lib/Rewrite/DeltaTree.cpp
Commit message (Collapse)AuthorAgeFilesLines
* "I see dead code". IdempotentOperationChecker::isTruncationExtensionAssignmentChris Lattner2010-09-031-8/+2
| | | | | | | | | should probably be removed if it has no purpose, but I just #if'd it out in case it's usefulIdempotentOperationChecker::isTruncationExtensionAssignment should probably be removed if it has no purpose, but I just #if'd it out in case it's useful llvm-svn: 112949
* reduce redundant are'sChris Lattner2010-01-201-1/+1
| | | | llvm-svn: 94009
* Be more careful with anonymous namespaces, since Clang diagnoses the ↵Douglas Gregor2009-11-171-19/+9
| | | | | | ambiguity here llvm-svn: 89054
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-53/+53
| | | | llvm-svn: 81346
* Fix a corner case that ted hit in -emit-html, rdar://5863212Chris Lattner2008-04-151-1/+1
| | | | llvm-svn: 49703
* Change the RewriteRope::Chunks data structure from an std::list intoChris Lattner2008-04-141-6/+8
| | | | | | | | | | | | a nice shiny B+ Tree variant. This fixes the last of the known algorithmic issues with the rewriter, allowing a significant speedup. For example, -emit-html on Ted's 500K .i file speeds up from 26.8s -> 0.64s in a debug build (41x!) and 5.475s -> 0.132s (41x!) in an optimized build. This code is functional but needs to be cleaned up, ifdefs removed, better commented, and moved to a .cpp file. I plan to do this tomorrow. llvm-svn: 49635
* Change the btree algorithm to split nodes bottom-up instead of top-down.Chris Lattner2008-04-131-77/+115
| | | | | | | | This results in an (IMO) simpler algorithm, results in fewer splits, and is more amenable to delta handling (there is no reason to mutate the tree at all when adding a delta to a position that already exists in the tree). llvm-svn: 49609
* split node splitting from interior node restructuring.Chris Lattner2008-04-131-37/+61
| | | | llvm-svn: 49608
* final cleanup, the code is now in a reviewable state.Chris Lattner2008-04-121-1/+6
| | | | llvm-svn: 49592
* move the DeltaTree implementation out of line, remove debugging printfs etc.Chris Lattner2008-04-121-0/+416
llvm-svn: 49591
OpenPOWER on IntegriCloud