clang 20.0.0git
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.
 
StmtgetBody (const ObjCMethodDecl *D)
 Factory method for creating bodies for Objective-C properties.
 
 BodyFarm (const BodyFarm &other)=delete
 Remove copy constructor to avoid accidental copying.
 
BodyFarmoperator= (const BodyFarm &other)=delete
 Delete copy assignment operator.
 

Detailed Description

Definition at line 30 of file BodyFarm.h.

Constructor & Destructor Documentation

◆ BodyFarm() [1/2]

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

Definition at line 32 of file BodyFarm.h.

◆ 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)

◆ getBody() [2/2]

Stmt * BodyFarm::getBody ( const ObjCMethodDecl D)

Factory method for creating bodies for Objective-C properties.

Definition at line 865 of file BodyFarm.cpp.

References createObjCPropertyGetter(), D, clang::Decl::getCanonicalDecl(), clang::Decl::isImplicit(), and clang::ObjCInterfaceDecl::known_extensions().

◆ operator=()

BodyFarm & clang::BodyFarm::operator= ( const BodyFarm other)
delete

Delete copy assignment operator.


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