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

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/Analysis/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

◆ BodyFarm()

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

Definition at line 34 of file BodyFarm.h.

References getBody().

Member Function Documentation

◆ getBody() [1/2]

Stmt * BodyFarm::getBody ( const FunctionDecl D)

Factory method for creating bodies for ordinary functions.

Definition at line 352 of file BodyFarm.cpp.

References clang::FunctionDecl::getCanonicalDecl(), and clang::NamedDecl::getIdentifier().

Referenced by BodyFarm().

◆ getBody() [2/2]

Stmt * BodyFarm::getBody ( const ObjCMethodDecl D)

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