clang
8.0.0
|
#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... | |
Definition at line 32 of file BodyFarm.h.
|
inline |
Definition at line 34 of file BodyFarm.h.
References getBody().
|
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 668 of file BodyFarm.cpp.
References clang::FunctionDecl::getCanonicalDecl(), and clang::NamedDecl::getIdentifier().
Referenced by BodyFarm().
Stmt * BodyFarm::getBody | ( | const ObjCMethodDecl * | D | ) |
Factory method for creating bodies for Objective-C properties.
Definition at line 803 of file BodyFarm.cpp.
References clang::C, createObjCPropertyGetter(), clang::ObjCMethodDecl::findPropertyDecl(), clang::ObjCMethodDecl::getCanonicalDecl(), clang::ObjCMethodDecl::isPropertyAccessor(), and clang::ObjCMethodDecl::param_size().