clang
19.0.0git
|
#include "clang/Analysis/BodyFarm.h"
Public Member Functions | |
BodyFarm (ASTContext &C, CodeInjector *injector) | |
Stmt * | getBody (const FunctionDecl *D) |
Factory method for creating bodies for ordinary functions. More... | |
Stmt * | getBody (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... | |
BodyFarm & | operator= (const BodyFarm &other)=delete |
Delete copy assignment operator. More... | |
Definition at line 30 of file BodyFarm.h.
|
inline |
Definition at line 32 of file BodyFarm.h.
|
delete |
Remove copy constructor to avoid accidental copying.
Stmt * BodyFarm::getBody | ( | const FunctionDecl * | D | ) |
Factory method for creating bodies for ordinary functions.
Definition at line 700 of file BodyFarm.cpp.
References clang::NamedDecl::getIdentifier().
Referenced by clang::AnalysisDeclContext::getBody().
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(), clang::ObjCMethodDecl::getCanonicalDecl(), clang::ObjCMethodDecl::getClassInterface(), clang::ObjCContainerDecl::getInstanceMethod(), clang::DeclContext::getParent(), clang::ObjCMethodDecl::getSelector(), clang::Decl::isImplicit(), clang::ObjCMethodDecl::isPropertyAccessor(), clang::ObjCInterfaceDecl::known_extensions(), and clang::ObjCMethodDecl::param_size().
Delete copy assignment operator.