GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
gcc_cp_plugin Class Reference

#include "gcc-cp-plugin.h"

Public Member Functions

 gcc_cp_plugin (struct gcc_cp_context *gcc_cp)
 
void set_callbacks (gcc_cp_oracle_function *binding_oracle, gcc_cp_symbol_address_function *address_oracle, gcc_cp_enter_leave_user_expr_scope_function *enter_scope, gcc_cp_enter_leave_user_expr_scope_function *leave_scope, void *datum)
 
int version () const
 
gcc_expr build_decl (const char *debug_decltype, const char *name, enum gcc_cp_symbol_kind sym_kind, gcc_type sym_type, const char *substitution_name, gcc_address address, const char *filename, unsigned int line_number)
 
gcc_type start_class_type (const char *debug_name, gcc_decl typedecl, const struct gcc_vbase_array *base_classes, const char *filename, unsigned int line_number)
 
int finish_class_type (const char *debug_name, unsigned long size_in_bytes)
 
int pop_binding_level (const char *debug_name)
 

Private Attributes

struct gcc_cp_context * m_context
 

Detailed Description

Definition at line 27 of file gcc-cp-plugin.h.

Constructor & Destructor Documentation

◆ gcc_cp_plugin()

gcc_cp_plugin::gcc_cp_plugin ( struct gcc_cp_context *  gcc_cp)
inlineexplicit

Definition at line 31 of file gcc-cp-plugin.h.

Member Function Documentation

◆ build_decl()

gcc_expr gcc_cp_plugin::build_decl ( const char *  debug_decltype,
const char *  name,
enum gcc_cp_symbol_kind  sym_kind,
gcc_type  sym_type,
const char *  substitution_name,
gcc_address  address,
const char *  filename,
unsigned int  line_number 
)

◆ finish_class_type()

int gcc_cp_plugin::finish_class_type ( const char *  debug_name,
unsigned long  size_in_bytes 
)

◆ pop_binding_level()

int gcc_cp_plugin::pop_binding_level ( const char *  debug_name)

◆ set_callbacks()

void gcc_cp_plugin::set_callbacks ( gcc_cp_oracle_function *  binding_oracle,
gcc_cp_symbol_address_function *  address_oracle,
gcc_cp_enter_leave_user_expr_scope_function *  enter_scope,
gcc_cp_enter_leave_user_expr_scope_function *  leave_scope,
void *  datum 
)
inline

Definition at line 37 of file gcc-cp-plugin.h.

References m_context.

Referenced by compile_cplus_instance::compile_cplus_instance().

◆ start_class_type()

gcc_type gcc_cp_plugin::start_class_type ( const char *  debug_name,
gcc_decl  typedecl,
const struct gcc_vbase_array *  base_classes,
const char *  filename,
unsigned int  line_number 
)

◆ version()

int gcc_cp_plugin::version ( ) const
inline

Definition at line 49 of file gcc-cp-plugin.h.

References m_context.

Member Data Documentation

◆ m_context

struct gcc_cp_context* gcc_cp_plugin::m_context
private

Definition at line 87 of file gcc-cp-plugin.h.

Referenced by set_callbacks(), and version().


The documentation for this class was generated from the following files: