clang 20.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. | |
Stmt * | getBody (const ObjCMethodDecl *D) |
Factory method for creating bodies for Objective-C properties. | |
BodyFarm (const BodyFarm &other)=delete | |
Remove copy constructor to avoid accidental copying. | |
BodyFarm & | operator= (const BodyFarm &other)=delete |
Delete copy assignment operator. | |
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 create_call_once(), create_dispatch_once(), create_dispatch_sync(), create_OSAtomicCompareAndSwap(), create_std_move_forward(), D, clang::CodeInjector::getBody(), clang::Decl::getDeclContext(), and clang::DeclContext::isStdNamespace().
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(), D, clang::Decl::getCanonicalDecl(), clang::Decl::isImplicit(), and clang::ObjCInterfaceDecl::known_extensions().
Delete copy assignment operator.