summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHReaderDecl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Check that the function being overridden is virtual.Anders Carlsson2009-05-141-1/+1
| | | | llvm-svn: 71802
* Improvements to the FunctionDecl getters/setters.Anders Carlsson2009-05-141-2/+2
| | | | llvm-svn: 71800
* Link FunctionDecls instantiated from the member functions of a classDouglas Gregor2009-05-141-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 onFariborz Jahanian2009-05-131-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 andTed Kremenek2009-05-091-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 Kremenek2009-05-081-7/+0
| | | | llvm-svn: 71216
* Implement attribute 'ns_autorelease'.Ted Kremenek2009-05-051-0/+1
| | | | llvm-svn: 70990
* Implement attribute 'cf_returns_owned' (mirrors 'ns_returns_owned').Ted Kremenek2009-05-051-0/+1
| | | | llvm-svn: 70952
* Remove experimental attribute 'ns_ownership_make_collectable.'Ted Kremenek2009-05-041-1/+0
| | | | llvm-svn: 70940
* Rename attributes 'objc_ownership...' to 'ns_ownership...'.Ted Kremenek2009-05-041-4/+4
| | | | llvm-svn: 70897
* Rename attributes:Ted Kremenek2009-05-041-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 oneTed Kremenek2009-04-281-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 Lattner2009-04-271-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' andTed Kremenek2009-04-271-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 sameTed Kremenek2009-04-271-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 SavedStreamPositionChris Lattner2009-04-271-18/+0
| | | | llvm-svn: 70192
* move attribute reading to PCHReaderDecl.cpp, remove someChris Lattner2009-04-271-78/+165
| | | | | | extraneous braces. llvm-svn: 70191
* read all decls (and attributes and stmts/exprs referenced by the decl)Chris Lattner2009-04-271-12/+12
| | | | | | from the DeclsCursor. llvm-svn: 70190
* change the interface to ReadStmt to force clients to pass a cursor in to ↵Chris Lattner2009-04-271-2/+2
| | | | | | read from. llvm-svn: 70188
* split decl reading out to its own PCHReaderDecl.cpp file.Chris Lattner2009-04-271-0/+628
llvm-svn: 70187
OpenPOWER on IntegriCloud