GDB (xrefs)
Functions | Variables
/tmp/gdb-7.10/gdb/cp-namespace.c File Reference
#include "defs.h"
#include "cp-support.h"
#include "gdb_obstack.h"
#include "symtab.h"
#include "symfile.h"
#include "block.h"
#include "objfiles.h"
#include "gdbtypes.h"
#include "dictionary.h"
#include "command.h"
#include "frame.h"
#include "buildsym.h"
#include "language.h"

Go to the source code of this file.

Functions

static struct symbolcp_lookup_nested_symbol_1 (struct type *container_type, const char *nested_name, const char *concatenated_name, const struct block *block, const domain_enum domain, int basic_lookup, int is_in_anonymous)
 
static struct typecp_lookup_transparent_type_loop (const char *name, const char *scope, int scope_len)
 
void cp_scan_for_anonymous_namespaces (const struct symbol *const symbol, struct objfile *const objfile)
 
void cp_add_using_directive (const char *dest, const char *src, const char *alias, const char *declaration, VEC(const_char_ptr)*excludes, int copy_names, struct obstack *obstack)
 
int cp_is_in_anonymous (const char *symbol_name)
 
static struct symbolcp_basic_lookup_symbol (const char *name, const struct block *block, const domain_enum domain, int is_in_anonymous)
 
static struct symbolcp_lookup_bare_symbol (const struct language_defn *langdef, const char *name, const struct block *block, const domain_enum domain, int search)
 
static struct symbolcp_search_static_and_baseclasses (const char *name, const struct block *block, const domain_enum domain, unsigned int prefix_len, int is_in_anonymous)
 
static struct symbolcp_lookup_symbol_in_namespace (const char *the_namespace, const char *name, const struct block *block, const domain_enum domain, int search)
 
static void reset_directive_searched (void *data)
 
static struct symbolcp_lookup_symbol_via_imports (const char *scope, const char *name, const struct block *block, const domain_enum domain, const int search_scope_first, const int declaration_only, const int search_parents)
 
static struct symbolsearch_symbol_list (const char *name, int num, struct symbol **syms)
 
struct symbolcp_lookup_symbol_imports_or_template (const char *scope, const char *name, const struct block *block, const domain_enum domain)
 
static struct symbolcp_lookup_symbol_via_all_imports (const char *scope, const char *name, const struct block *block, const domain_enum domain)
 
struct symbolcp_lookup_symbol_namespace (const char *scope, const char *name, const struct block *block, const domain_enum domain)
 
static struct symbollookup_namespace_scope (const struct language_defn *langdef, const char *name, const struct block *block, const domain_enum domain, const char *scope, int scope_len)
 
struct symbolcp_lookup_symbol_nonlocal (const struct language_defn *langdef, const char *name, const struct block *block, const domain_enum domain)
 
struct typecp_find_type_baseclass_by_name (struct type *parent_type, const char *name)
 
static struct symbolfind_symbol_in_baseclass (struct type *parent_type, const char *name, const struct block *block, const domain_enum domain, int is_in_anonymous)
 
struct symbolcp_lookup_nested_symbol (struct type *parent_type, const char *nested_name, const struct block *block, const domain_enum domain)
 
struct typecp_lookup_transparent_type (const char *name)
 
static void maintenance_cplus_namespace (char *args, int from_tty)
 
void _initialize_cp_namespace (void)
 

Variables

initialize_file_ftype _initialize_cp_namespace
 

Function Documentation

void _initialize_cp_namespace ( void  )
void cp_add_using_directive ( const char *  dest,
const char *  src,
const char *  alias,
const char *  declaration,
VEC(const_char_ptr)*  excludes,
int  copy_names,
struct obstack *  obstack 
)
static struct symbol* cp_basic_lookup_symbol ( const char *  name,
const struct block block,
const domain_enum  domain,
int  is_in_anonymous 
)
static
struct type* cp_find_type_baseclass_by_name ( struct type parent_type,
const char *  name 
)
int cp_is_in_anonymous ( const char *  symbol_name)
static struct symbol* cp_lookup_bare_symbol ( const struct language_defn langdef,
const char *  name,
const struct block block,
const domain_enum  domain,
int  search 
)
static
struct symbol* cp_lookup_nested_symbol ( struct type parent_type,
const char *  nested_name,
const struct block block,
const domain_enum  domain 
)
static struct symbol * cp_lookup_nested_symbol_1 ( struct type container_type,
const char *  nested_name,
const char *  concatenated_name,
const struct block block,
const domain_enum  domain,
int  basic_lookup,
int  is_in_anonymous 
)
static
struct symbol* cp_lookup_symbol_imports_or_template ( const char *  scope,
const char *  name,
const struct block block,
const domain_enum  domain 
)
static struct symbol* cp_lookup_symbol_in_namespace ( const char *  the_namespace,
const char *  name,
const struct block block,
const domain_enum  domain,
int  search 
)
static
struct symbol* cp_lookup_symbol_namespace ( const char *  scope,
const char *  name,
const struct block block,
const domain_enum  domain 
)
struct symbol* cp_lookup_symbol_nonlocal ( const struct language_defn langdef,
const char *  name,
const struct block block,
const domain_enum  domain 
)
static struct symbol* cp_lookup_symbol_via_all_imports ( const char *  scope,
const char *  name,
const struct block block,
const domain_enum  domain 
)
static
static struct symbol* cp_lookup_symbol_via_imports ( const char *  scope,
const char *  name,
const struct block block,
const domain_enum  domain,
const int  search_scope_first,
const int  declaration_only,
const int  search_parents 
)
static
struct type* cp_lookup_transparent_type ( const char *  name)
static struct type * cp_lookup_transparent_type_loop ( const char *  name,
const char *  scope,
int  scope_len 
)
static
void cp_scan_for_anonymous_namespaces ( const struct symbol *const  symbol,
struct objfile *const  objfile 
)
static struct symbol* cp_search_static_and_baseclasses ( const char *  name,
const struct block block,
const domain_enum  domain,
unsigned int  prefix_len,
int  is_in_anonymous 
)
static
static struct symbol* find_symbol_in_baseclass ( struct type parent_type,
const char *  name,
const struct block block,
const domain_enum  domain,
int  is_in_anonymous 
)
static
static struct symbol* lookup_namespace_scope ( const struct language_defn langdef,
const char *  name,
const struct block block,
const domain_enum  domain,
const char *  scope,
int  scope_len 
)
static
static void maintenance_cplus_namespace ( char *  args,
int  from_tty 
)
static

Definition at line 1173 of file cp-namespace.c.

References _, and printf_unfiltered().

Referenced by _initialize_cp_namespace().

static void reset_directive_searched ( void *  data)
static

Definition at line 435 of file cp-namespace.c.

References using_direct::searched.

Referenced by cp_lookup_symbol_via_imports().

static struct symbol* search_symbol_list ( const char *  name,
int  num,
struct symbol **  syms 
)
static

Definition at line 589 of file cp-namespace.c.

References SYMBOL_NATURAL_NAME.

Referenced by cp_lookup_symbol_imports_or_template().

Variable Documentation

initialize_file_ftype _initialize_cp_namespace