Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes a bug in my last patch (related to radar 7490331). | Fariborz Jahanian | 2010-01-07 | 1 | -1/+1 |
| | | | | llvm-svn: 92952 | ||||
* | Avoid error when convering a pointer to integer in | Fariborz Jahanian | 2010-01-07 | 1 | -1/+1 |
| | | | | | | rewriting. llvm-svn: 92925 | ||||
* | Fix rewriting of ivars. Fixes radar 7490331. | Fariborz Jahanian | 2010-01-07 | 1 | -2/+3 |
| | | | | llvm-svn: 92924 | ||||
* | Convert from char pointer to char array | Kovarththanan Rajaratnam | 2010-01-07 | 1 | -6/+6 |
| | | | | llvm-svn: 92923 | ||||
* | Fix typo: rename Rewriter::getRewritenText() -> Rewriter::getRewrittenText(). | Ted Kremenek | 2010-01-07 | 1 | -1/+1 |
| | | | | llvm-svn: 92922 | ||||
* | Tigthen scope of local char array | Kovarththanan Rajaratnam | 2010-01-07 | 1 | -1/+1 |
| | | | | llvm-svn: 92917 | ||||
* | Change ObjCContainerDecl to contain the entire range for the '@end' | Ted Kremenek | 2010-01-07 | 3 | -5/+9 |
| | | | | | | | | | | | piece of the declaration. The '@' and the 'end' are separate tokens, and require two SourceLocations to accurately track. This change was motivated because ObjCContainerDecl::getSourceRange() would previously not return the entire range of the declaration (the 'end' would be left off). llvm-svn: 92891 | ||||
* | When suggesting a typo correction for an @implementation without a | Douglas Gregor | 2010-01-06 | 1 | -0/+3 |
| | | | | | | | | | | corresponding @interface, provide a note showing which interface we're referring to. This note has the fix-it hint on it. Also, don't automatically apply fix-it hints for notes. They're meant to express fix-its that would change semantics. llvm-svn: 92870 | ||||
* | Move the allocation of designators in DesignatedInitExpr to the | Douglas Gregor | 2010-01-06 | 1 | -1/+2 |
| | | | | | | ASTContext. Fixes <rdar://problem/7495428>. llvm-svn: 92867 | ||||
* | Fixed a bug where initializer is a macro in rewrite. | Fariborz Jahanian | 2010-01-05 | 1 | -0/+1 |
| | | | | llvm-svn: 92801 | ||||
* | API support for __block variables which are also __weak. | Fariborz Jahanian | 2010-01-05 | 1 | -5/+16 |
| | | | | llvm-svn: 92755 | ||||
* | Minor clean up. | Fariborz Jahanian | 2010-01-05 | 1 | -6/+3 |
| | | | | llvm-svn: 92746 | ||||
* | Remove bogus "C" from preamble block decls. | Steve Naroff | 2010-01-05 | 1 | -2/+2 |
| | | | | llvm-svn: 92744 | ||||
* | More rewriting of __block APIs. wip. | Fariborz Jahanian | 2010-01-05 | 1 | -26/+40 |
| | | | | llvm-svn: 92742 | ||||
* | Fix <rdar://problem/7490212> clang rewriter: return of the mixed line ↵ | Steve Naroff | 2010-01-05 | 1 | -1/+3 |
| | | | | | | | | | | endings, which is related to <rdar://problem/6596843> clang ObjC rewriter: Line endings still mixed in rewrite output This fix was dropped when I integrated the 'objective-rewrite' branch. llvm-svn: 92737 | ||||
* | More rewriting of __block objective-c pointer variables. wip. | Fariborz Jahanian | 2010-01-05 | 1 | -5/+80 |
| | | | | llvm-svn: 92558 | ||||
* | Fix warnings. | Mike Stump | 2010-01-05 | 1 | -1/+2 |
| | | | | llvm-svn: 92551 | ||||
* | Remove references to 'Checker' and 'GRTransferFuncs' from | Ted Kremenek | 2010-01-05 | 1 | -8/+4 |
| | | | | | | | | | | | | GRStateManager. Having these references was an abstraction violation, as they really should only be known about GRExprEngine. This change required adding a new 'ProcessAssume' callback in GRSubEngine. GRExprEngine implements this callback by calling 'EvalAssume' on all registered Checker objects as well as the registered GRTransferFunc object. llvm-svn: 92549 | ||||
* | Remember if the AsmStmt came from Microsoft-style inline assembly code. | Mike Stump | 2010-01-04 | 2 | -0/+2 |
| | | | | llvm-svn: 92526 | ||||
* | More rewriting of __block declared objective-c/block pointers. | Fariborz Jahanian | 2010-01-04 | 1 | -16/+45 |
| | | | | | | This is wip. llvm-svn: 92501 | ||||
* | Teach Preprocessor::macro_begin/macro_end to lazily load all macro | Douglas Gregor | 2010-01-04 | 2 | -3/+61 |
| | | | | | | | | definitions from a precompiled header. This ensures that code-completion with macro names behaves the same with or without precompiled headers. llvm-svn: 92497 | ||||
* | Better coverage for -dump-record-layouts and -print-decl-contexts. | Eli Friedman | 2010-01-03 | 1 | -0/+13 |
| | | | | llvm-svn: 92441 | ||||
* | Let constraint manager inform checkers that some assumption logic has happend. | Zhongxing Xu | 2009-12-31 | 1 | -2/+2 |
| | | | | | | | | | Add new states for symbolic regions tracked by malloc checker. This enables us to do malloc checking more accurately. See test case. Based on Lei Zhang's patch and discussion. llvm-svn: 92342 | ||||
* | When rewriting a __block declaration, use a suitable API to get location of | Fariborz Jahanian | 2009-12-30 | 1 | -1/+3 |
| | | | | | | the declaration in the presence of an initializer macro. llvm-svn: 92312 | ||||
* | Remove an duplicated #include. | Zhongxing Xu | 2009-12-30 | 1 | -1/+0 |
| | | | | llvm-svn: 92306 | ||||
* | Get rid of FixedWidthIntType, as suggested by Chris and Eli. | Anders Carlsson | 2009-12-29 | 2 | -18/+0 |
| | | | | llvm-svn: 92246 | ||||
* | More cleanup/refactoring of the rewrite. | Fariborz Jahanian | 2009-12-23 | 1 | -8/+6 |
| | | | | llvm-svn: 92062 | ||||
* | Some cleanup and refactoring of rewriter. | Fariborz Jahanian | 2009-12-23 | 1 | -4/+26 |
| | | | | llvm-svn: 92049 | ||||
* | This patch concludes rewriteing of __block variables to allow | Fariborz Jahanian | 2009-12-23 | 1 | -2/+10 |
| | | | | | | a small test case using Block_copy(...) API to pass. llvm-svn: 92038 | ||||
* | Removed a FIXME comment. | Fariborz Jahanian | 2009-12-23 | 1 | -3/+2 |
| | | | | llvm-svn: 92028 | ||||
* | More rewriting of __block variables. | Fariborz Jahanian | 2009-12-23 | 1 | -4/+18 |
| | | | | llvm-svn: 92027 | ||||
* | switch -Werror/-Wfatal-errors error conditions to use diagnostics instead | Chris Lattner | 2009-12-23 | 1 | -9/+7 |
| | | | | | | of printf, patch by Christian Adaker! llvm-svn: 92019 | ||||
* | Remove RewriteBlocks. It has been superseded by RewriteObjC | Kovarththanan Rajaratnam | 2009-12-23 | 4 | -1161/+0 |
| | | | | llvm-svn: 92014 | ||||
* | Add support for handling initializers in RewriteObjC::RewriteByRefVar(). | Steve Naroff | 2009-12-23 | 1 | -5/+16 |
| | | | | | | As the FIXME indicates, RewriteByRefVar() won't work for multiple declarators (in general). I've discussed this with Fariborz and he is aware of the limitation. llvm-svn: 92007 | ||||
* | Register call inliner as the last checker. | Zhongxing Xu | 2009-12-23 | 1 | -2/+3 |
| | | | | llvm-svn: 91992 | ||||
* | Migrate the call inliner to the Checker interface. | Zhongxing Xu | 2009-12-23 | 1 | -5/+34 |
| | | | | llvm-svn: 91991 | ||||
* | Patch to do more rewrite of __block variables. | Fariborz Jahanian | 2009-12-23 | 1 | -11/+87 |
| | | | | | | Still WIP. llvm-svn: 91977 | ||||
* | implement -W[no-]fatal-errors, patch by Christian Adåker! | Chris Lattner | 2009-12-22 | 1 | -2/+25 |
| | | | | llvm-svn: 91938 | ||||
* | Serialize the NoReturn bit on FunctionTypes for precompiled headers | Douglas Gregor | 2009-12-22 | 2 | -4/+6 |
| | | | | llvm-svn: 91911 | ||||
* | Work around PR5514. | Anders Carlsson | 2009-12-22 | 1 | -1/+2 |
| | | | | llvm-svn: 91891 | ||||
* | Template code for rewrite of __block variables - wip. | Fariborz Jahanian | 2009-12-22 | 1 | -0/+7 |
| | | | | llvm-svn: 91865 | ||||
* | Providing support for rewriting of block copy/dispose of | Fariborz Jahanian | 2009-12-21 | 1 | -4/+11 |
| | | | | | | imported block variables. WIP. llvm-svn: 91856 | ||||
* | Fix a few MSVC warnings. | Daniel Dunbar | 2009-12-18 | 1 | -4/+4 |
| | | | | llvm-svn: 91714 | ||||
* | Debian has x86_64-linux-gnu, not x86_64-pc-linux-gnu, so add it. | Torok Edwin | 2009-12-18 | 1 | -0/+3 |
| | | | | llvm-svn: 91698 | ||||
* | Move the 4.4.2 c++ include search to the top, otherwise it was picking the 4.1.3 | Torok Edwin | 2009-12-18 | 1 | -5/+5 |
| | | | | | | | dirs on my system. Which is wrong, since it was missing the x86_64-pc-linux-gnu suffix. llvm-svn: 91694 | ||||
* | clang -cc1: Rename -mcpu to -target-cpu to match other target options and ↵ | Daniel Dunbar | 2009-12-18 | 1 | -2/+2 |
| | | | | | | not alias driver/backend option. llvm-svn: 91671 | ||||
* | Add -dwarf-debug-flags, which provides a way to embed the cc1 level options used | Daniel Dunbar | 2009-12-18 | 1 | -0/+5 |
| | | | | | | | | to compile a translation unit into the debug info for that file. - Used by parts of Darwin build process to check compiler flags, etc. - <rdar://problem/7256886> clang does not emit AT_APPLE_flags llvm-svn: 91661 | ||||
* | Implemented rewriting of invocation of a block ivar. | Fariborz Jahanian | 2009-12-18 | 1 | -0/+2 |
| | | | | | | | (radar 7482224). llvm-svn: 91652 | ||||
* | Fix -fdollars-in-identifiers Clang translation. | Daniel Dunbar | 2009-12-16 | 1 | -5/+4 |
| | | | | llvm-svn: 91562 | ||||
* | When value-initializing a class with no user-defined constructors but | Douglas Gregor | 2009-12-16 | 2 | -0/+2 |
| | | | | | | | with a non-trivial default constructor, zero-initialize the storage and then call the default constructor. Fixes PR5800. llvm-svn: 91548 |