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

#include "clang/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...
 
 BodyFarm (const BodyFarm &other)=delete
 Remove copy constructor to avoid accidental copying. More...
 

Detailed Description

Definition at line 32 of file BodyFarm.h.

Constructor & Destructor Documentation

◆ BodyFarm() [1/2]

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

Definition at line 34 of file BodyFarm.h.

References getBody().

◆ BodyFarm() [2/2]

clang::BodyFarm::BodyFarm ( const BodyFarm other)
delete

Remove copy constructor to avoid accidental copying.

Member Function Documentation

◆ getBody() [1/2]

Stmt * BodyFarm::getBody ( const FunctionDecl D)

Factory method for creating bodies for ordinary functions.

Definition at line 649 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: