Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TClingCallFunc.cxx File Reference
#include "TClingCallFunc.h"
#include "TClingClassInfo.h"
#include "TClingMethodInfo.h"
#include "TClingUtils.h"
#include "TError.h"
#include "TCling.h"
#include "TInterpreter.h"
#include "cling/Interpreter/CompilationOptions.h"
#include "cling/Interpreter/Interpreter.h"
#include "cling/Interpreter/LookupHelper.h"
#include "cling/Interpreter/Transaction.h"
#include "cling/Interpreter/Value.h"
#include "cling/Utils/AST.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/GlobalDecl.h"
#include "clang/AST/PrettyPrinter.h"
#include "clang/AST/QualTypeNames.h"
#include "clang/AST/RecordLayout.h"
#include "clang/AST/Type.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Sema/Sema.h"
#include "clang/Sema/Lookup.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ExecutionEngine/ExecutionEngine.h"
#include "llvm/ExecutionEngine/GenericValue.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Type.h"
#include "clang/Sema/SemaInternal.h"
#include <map>
#include <string>
#include <sstream>
Include dependency graph for TClingCallFunc.cxx:

Macros

#define X(type, name)    case BuiltinType::name: fArgVals[i] = cling::Value::Create(*fInterp, fArgVals[i].castAs<type>()); break;
 

Functions

static void EvaluateExpr (cling::Interpreter &interp, const Expr *E, cling::Value &V)
 
static void GetTypeAsString (QualType QT, string &type_name, ASTContext &C, PrintingPolicy Policy)
 
static void indent (ostringstream &buf, int indent_level)
 
static const string kIndentString (" ")
 

Variables

static map< const Decl *, void * > gCtorWrapperStore
 
static map< const Decl *, void * > gDtorWrapperStore
 
static unsigned long long gWrapperSerial = 0LL
 
static map< const Decl *, void * > gWrapperStore
 

Macro Definition Documentation

◆ X

#define X (   type,
  name 
)     case BuiltinType::name: fArgVals[i] = cling::Value::Create(*fInterp, fArgVals[i].castAs<type>()); break;

Function Documentation

◆ EvaluateExpr()

static void EvaluateExpr ( cling::Interpreter &  interp,
const Expr *  E,
cling::Value &  V 
)
static

Definition at line 98 of file TClingCallFunc.cxx.

◆ GetTypeAsString()

static void GetTypeAsString ( QualType  QT,
string &  type_name,
ASTContext &  C,
PrintingPolicy  Policy 
)
static

Definition at line 146 of file TClingCallFunc.cxx.

◆ indent()

static void indent ( ostringstream &  buf,
int  indent_level 
)
inlinestatic

Definition at line 89 of file TClingCallFunc.cxx.

◆ kIndentString()

static const string kIndentString ( " "  )
static

Variable Documentation

◆ gCtorWrapperStore

map<const Decl *, void *> gCtorWrapperStore
static

Definition at line 83 of file TClingCallFunc.cxx.

◆ gDtorWrapperStore

map<const Decl *, void *> gDtorWrapperStore
static

Definition at line 84 of file TClingCallFunc.cxx.

◆ gWrapperSerial

unsigned long long gWrapperSerial = 0LL
static

Definition at line 79 of file TClingCallFunc.cxx.

◆ gWrapperStore

map<const Decl *, void *> gWrapperStore
static

Definition at line 82 of file TClingCallFunc.cxx.