Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 GetDeclName (const clang::Decl *D, ASTContext &Context, std::string &name)
 
static void GetTypeAsString (QualType QT, string &type_name, ASTContext &C, PrintingPolicy Policy)
 
static void indent (ostringstream &buf, int indent_level)
 
static bool IsCopyConstructorDeleted (QualType QT)
 
static const string kIndentString (" ")
 
static std::string PrepareStructorWrapper (const Decl *D, const char *wrapper_prefix, std::string &class_name)
 

Variables

static unsigned long long gWrapperSerial = 0LL
 

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 94 of file TClingCallFunc.cxx.

◆ GetDeclName()

static void GetDeclName ( const clang::Decl * D,
ASTContext & Context,
std::string & name )
static

Definition at line 154 of file TClingCallFunc.cxx.

◆ GetTypeAsString()

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

Definition at line 142 of file TClingCallFunc.cxx.

◆ indent()

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

Definition at line 85 of file TClingCallFunc.cxx.

◆ IsCopyConstructorDeleted()

static bool IsCopyConstructorDeleted ( QualType QT)
static

Definition at line 241 of file TClingCallFunc.cxx.

◆ kIndentString()

static const string kIndentString ( " " )
static

◆ PrepareStructorWrapper()

static std::string PrepareStructorWrapper ( const Decl * D,
const char * wrapper_prefix,
std::string & class_name )
static

Definition at line 1042 of file TClingCallFunc.cxx.

Variable Documentation

◆ gWrapperSerial

unsigned long long gWrapperSerial = 0LL
static

Definition at line 79 of file TClingCallFunc.cxx.