diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:15:30 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:15:30 +0000 |
commit | 9f4dbff6669c8037f3b036bcf580d14f1a4f12a5 (patch) | |
tree | 47df2c12b57214af6c31e47404b005675b8b7ffc /lib/Analysis/BodyFarm.h | |
parent | f73d5f23a889b93d89ddef61ac0995df40286bb8 (diff) |
Notes
Diffstat (limited to 'lib/Analysis/BodyFarm.h')
-rw-r--r-- | lib/Analysis/BodyFarm.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Analysis/BodyFarm.h b/lib/Analysis/BodyFarm.h index 96f61df40d7fc..2d200fb755c16 100644 --- a/lib/Analysis/BodyFarm.h +++ b/lib/Analysis/BodyFarm.h @@ -24,6 +24,8 @@ namespace clang { class ASTContext; class Decl; class FunctionDecl; +class ObjCMethodDecl; +class ObjCPropertyDecl; class Stmt; class BodyFarm { @@ -32,7 +34,10 @@ public: /// Factory method for creating bodies for ordinary functions. Stmt *getBody(const FunctionDecl *D); - + + /// Factory method for creating bodies for Objective-C properties. + Stmt *getBody(const ObjCMethodDecl *D); + private: typedef llvm::DenseMap<const Decl *, Optional<Stmt *> > BodyMap; |