class BodyFarm

Declaration

class BodyFarm { /* full declaration omitted */ };

Declared at: clang/include/clang/Analysis/BodyFarm.h:30

Member Variables

private clang::ASTContext& C
private clang::BodyFarm::BodyMap Bodies
private clang::CodeInjector* Injector

Method Overview

  • public BodyFarm(clang::ASTContext & C, clang::CodeInjector * injector)
  • public BodyFarm(const clang::BodyFarm & other)
  • public clang::Stmt * getBody(const clang::FunctionDecl * D)
  • public clang::Stmt * getBody(const clang::ObjCMethodDecl * D)

Methods

BodyFarm(clang::ASTContext& C,
         clang::CodeInjector* injector)

Declared at: clang/include/clang/Analysis/BodyFarm.h:32

Parameters

clang::ASTContext& C
clang::CodeInjector* injector

BodyFarm(const clang::BodyFarm& other)

Description

Remove copy constructor to avoid accidental copying.

Declared at: clang/include/clang/Analysis/BodyFarm.h:41

Parameters

const clang::BodyFarm& other

clang::Stmt* getBody(const clang::FunctionDecl* D)

Description

Factory method for creating bodies for ordinary functions.

Declared at: clang/include/clang/Analysis/BodyFarm.h:35

Parameters

const clang::FunctionDecl* D

clang::Stmt* getBody(
    const clang::ObjCMethodDecl* D)

Description

Factory method for creating bodies for Objective-C properties.

Declared at: clang/include/clang/Analysis/BodyFarm.h:38

Parameters

const clang::ObjCMethodDecl* D