Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove unneeded llvm:: namespace qualifiers on some core types now that ↵ | Chris Lattner | 2011-07-23 | 1 | -3/+1 |
| | | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852 | ||||
* | zap more dead code. | Chris Lattner | 2010-09-04 | 1 | -3/+3 |
| | | | | llvm-svn: 113076 | ||||
* | Fix: | Chris Lattner | 2010-06-14 | 1 | -1/+1 |
| | | | | | | | | | | | | Decl.cpp:716:28: warning: initialization of pointer of type 'clang::VarDecl *' from literal 'false' [-Wbool-conversions] VarDecl *LastTentative = false; ^ RewriteRope.cpp:535:12: warning: initialization of pointer of type '<anonymous>::RopePieceBTreeNode *' from literal 'false' [-Wbool-conversions] return false; ^ llvm-svn: 105946 | ||||
* | Call 'clear()' in ~RopePieceBTreeLeaf(), decrementing the reference | Ted Kremenek | 2009-10-20 | 1 | -0/+1 |
| | | | | | | | | counts of the bufffers referened by the RopePieces in RopePieceBTreeLeaf. This (I believe) corrently fixes the leak I meant to fix in r84601 (which ended up causing an overrelease). llvm-svn: 84615 | ||||
* | Revert 84601. Looks like it was causing failures on some systems. | Ted Kremenek | 2009-10-20 | 1 | -2/+3 |
| | | | | llvm-svn: 84610 | ||||
* | Fix a reference count imbalance in RewriteRope::MakeRopeString(). | Ted Kremenek | 2009-10-20 | 1 | -3/+2 |
| | | | | | | | This was causing a ton of memory to be leaked when using HTML diagnostics with the static analyzer (on large files with many errors). llvm-svn: 84601 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -92/+92 |
| | | | | llvm-svn: 81346 | ||||
* | Fixed an offset calculation error. | Zhongxing Xu | 2008-09-16 | 1 | -1/+1 |
| | | | | llvm-svn: 56242 | ||||
* | Fix rewrite rope to keep the leaf list up-to-date as it erases leaves | Chris Lattner | 2008-05-28 | 1 | -5/+27 |
| | | | | | | from the rope. rdar://5952468 llvm-svn: 51651 | ||||
* | fix a nasty off-by-one error. | Chris Lattner | 2008-05-23 | 1 | -1/+1 |
| | | | | llvm-svn: 51519 | ||||
* | Fix rdar://5919567: assertion failure: split didn't occur before erase! | Chris Lattner | 2008-05-08 | 1 | -1/+3 |
| | | | | llvm-svn: 50839 | ||||
* | fix a rewriter crash on zero length files. | Chris Lattner | 2008-04-23 | 1 | -0/+1 |
| | | | | llvm-svn: 50126 | ||||
* | finish commenting RewriteRope | Chris Lattner | 2008-04-15 | 1 | -2/+65 |
| | | | | llvm-svn: 49712 | ||||
* | simplify the implementation of the insert/split operation to return | Chris Lattner | 2008-04-14 | 1 | -98/+98 |
| | | | | | | | the new RHS directly instead of indirecting through the 'InsertResult' struct. This eliminates InsertResult. llvm-svn: 49694 | ||||
* | Add a bunch of comments, move RewriteRope::MakeRopeString out of line. | Chris Lattner | 2008-04-14 | 1 | -0/+47 |
| | | | | llvm-svn: 49689 | ||||
* | fix more uninit ivars, who wrote this junk? :) | Chris Lattner | 2008-04-14 | 1 | -2/+2 |
| | | | | llvm-svn: 49679 | ||||
* | Fix an assertion ted was hitting, due to an uninitialized variable. | Chris Lattner | 2008-04-14 | 1 | -1/+1 |
| | | | | llvm-svn: 49678 | ||||
* | move a ton of code out of line, from RewriteRope.h -> RewriteRope.cpp | Chris Lattner | 2008-04-14 | 1 | -0/+672 |
llvm-svn: 49664 |