Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check that the function being overridden is virtual. | Anders Carlsson | 2009-05-14 | 1 | -1/+1 |
| | | | | llvm-svn: 71802 | ||||
* | Improvements to the FunctionDecl getters/setters. | Anders Carlsson | 2009-05-14 | 1 | -2/+2 |
| | | | | llvm-svn: 71800 | ||||
* | Link FunctionDecls instantiated from the member functions of a class | Douglas Gregor | 2009-05-14 | 1 | -0/+1 |
| | | | | | | | | template to the FunctionDecls from which they were instantiated. This is a necessary first step to support instantiation of the definitions of such functions, but by itself does essentially nothing. llvm-svn: 71792 | ||||
* | Some early declarations to support sentinel attribute on | Fariborz Jahanian | 2009-05-13 | 1 | -0/+7 |
| | | | | | | | message dispatches (and function calls later). No change in functionality. llvm-svn: 71683 | ||||
* | Add back Parse/Sema support for attributes cf_returns_retained and | Ted Kremenek | 2009-05-09 | 1 | -0/+2 |
| | | | | | | | ns_returns_retained, but do not include the other ownership attributes we previously had. llvm-svn: 71308 | ||||
* | Remove experimental ownership attributes from Clang. | Ted Kremenek | 2009-05-08 | 1 | -7/+0 |
| | | | | llvm-svn: 71216 | ||||
* | Implement attribute 'ns_autorelease'. | Ted Kremenek | 2009-05-05 | 1 | -0/+1 |
| | | | | llvm-svn: 70990 | ||||
* | Implement attribute 'cf_returns_owned' (mirrors 'ns_returns_owned'). | Ted Kremenek | 2009-05-05 | 1 | -0/+1 |
| | | | | llvm-svn: 70952 | ||||
* | Remove experimental attribute 'ns_ownership_make_collectable.' | Ted Kremenek | 2009-05-04 | 1 | -1/+0 |
| | | | | llvm-svn: 70940 | ||||
* | Rename attributes 'objc_ownership...' to 'ns_ownership...'. | Ted Kremenek | 2009-05-04 | 1 | -4/+4 |
| | | | | llvm-svn: 70897 | ||||
* | Rename attributes: | Ted Kremenek | 2009-05-04 | 1 | -2/+2 |
| | | | | | | | | | | | 'objc_ownership_cfretain' -> 'cf_ownership_retain' 'objc_ownership_cfrelease' -> 'cf_ownership_release' Motivation: Core Foundation objects can be used in isolation from Objective-C, and this forces users to reason about the separate semantics of CF objects. More Sema support pending. llvm-svn: 70884 | ||||
* | Implement ownership attribute 'objc_ownership_make_collectable'. This allows one | Ted Kremenek | 2009-04-28 | 1 | -1/+2 |
| | | | | | | to add 'CFMakeCollectable' semantics to a method. llvm-svn: 70336 | ||||
* | Teach PCH that ASTContext is optional. Move -parse-noop and -Eonly (so far) | Chris Lattner | 2009-04-27 | 1 | -44/+44 |
| | | | | | | | processing to after PCH is loaded. -Eonly and -parse-noop are close to working with PCH now but are not quite there yet. llvm-svn: 70257 | ||||
* | Add two new checker-specific attributes: 'objc_ownership_release' and | Ted Kremenek | 2009-04-27 | 1 | -0/+2 |
| | | | | | | | 'objc_ownership_cfrelease'. These are the 'release' equivalents of 'objc_ownership_retain' and 'objc_ownership_cfretain' respectively. llvm-svn: 70235 | ||||
* | Add new checker-specific attribute 'objc_ownership_cfretain'. This is the same | Ted Kremenek | 2009-04-27 | 1 | -0/+1 |
| | | | | | | | | as 'objc_ownership_cfretain' except that the method acts like a CFRetain instead of a [... retain] (important in GC modes). Checker support is wired up, but currently only for Objective-C message expressions (not function calls). llvm-svn: 70218 | ||||
* | unclone SavedStreamPosition | Chris Lattner | 2009-04-27 | 1 | -18/+0 |
| | | | | llvm-svn: 70192 | ||||
* | move attribute reading to PCHReaderDecl.cpp, remove some | Chris Lattner | 2009-04-27 | 1 | -78/+165 |
| | | | | | | extraneous braces. llvm-svn: 70191 | ||||
* | read all decls (and attributes and stmts/exprs referenced by the decl) | Chris Lattner | 2009-04-27 | 1 | -12/+12 |
| | | | | | | from the DeclsCursor. llvm-svn: 70190 | ||||
* | change the interface to ReadStmt to force clients to pass a cursor in to ↵ | Chris Lattner | 2009-04-27 | 1 | -2/+2 |
| | | | | | | read from. llvm-svn: 70188 | ||||
* | split decl reading out to its own PCHReaderDecl.cpp file. | Chris Lattner | 2009-04-27 | 1 | -0/+628 |
llvm-svn: 70187 |