clang  4.0.0svn
Public Member Functions | List of all members
clang::BodyFarm Class Reference

#include <BodyFarm.h>

Public Member Functions

 BodyFarm (ASTContext &C, CodeInjector *injector)
StmtgetBody (const FunctionDecl *D)
 Factory method for creating bodies for ordinary functions. More...
StmtgetBody (const ObjCMethodDecl *D)
 Factory method for creating bodies for Objective-C properties. More...

Detailed Description

Definition at line 32 of file BodyFarm.h.

Constructor & Destructor Documentation

clang::BodyFarm::BodyFarm ( ASTContext C,
CodeInjector injector 

Definition at line 34 of file BodyFarm.h.

References getBody().

Member Function Documentation

Stmt * BodyFarm::getBody ( const FunctionDecl D)

Factory method for creating bodies for ordinary functions.

Definition at line 352 of file BodyFarm.cpp.

References create_dispatch_once(), create_dispatch_sync(), create_OSAtomicCompareAndSwap(), clang::FunctionDecl::getCanonicalDecl(), clang::NamedDecl::getIdentifier(), and clang::NamedDecl::getName().

Referenced by BodyFarm().

Stmt * BodyFarm::getBody ( const ObjCMethodDecl D)

The documentation for this class was generated from the following files: