* gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
[deliverable/binutils-gdb.git] / gdb / cp-support.h
index 8898807bfa769e8af386156a683fb481efb77228..c22c1e7ff0a7d763fbc710d5655e84e69cd5785d 100644 (file)
@@ -1,5 +1,5 @@
 /* Helper routines for C++ support in GDB.
-   Copyright (C) 2002-2005, 2007-2012 Free Software Foundation, Inc.
+   Copyright (C) 2002-2013 Free Software Foundation, Inc.
 
    Contributed by MontaVista Software.
    Namespace support contributed by David Carlton.
@@ -26,6 +26,7 @@
 
 #include "symtab.h"
 #include "vec.h"
+#include "gdb_vecs.h"
 #include "gdb_obstack.h"
 
 /* Opaque declarations.  */
@@ -148,6 +149,12 @@ extern char *cp_canonicalize_string (const char *string);
 
 extern char *cp_canonicalize_string_no_typedefs (const char *string);
 
+typedef const char *(canonicalization_ftype) (struct type *, void *);
+
+extern char *cp_canonicalize_string_full (const char *string,
+                                         canonicalization_ftype *finder,
+                                         void *data);
+
 extern char *cp_class_name_from_physname (const char *physname);
 
 extern char *method_name_from_physname (const char *physname);
@@ -170,14 +177,10 @@ extern struct symbol **make_symbol_overload_list_adl (struct type **arg_types,
 extern struct type *cp_lookup_rtti_type (const char *name,
                                         struct block *block);
 
-extern int cp_validate_operator (const char *input);
-
 /* Functions/variables from cp-namespace.c.  */
 
 extern int cp_is_anonymous (const char *namespace);
 
-DEF_VEC_P (const_char_ptr);
-
 extern void cp_add_using_directive (const char *dest,
                                     const char *src,
                                     const char *alias,
@@ -185,11 +188,6 @@ extern void cp_add_using_directive (const char *dest,
                                    VEC (const_char_ptr) *excludes,
                                     struct obstack *obstack);
 
-extern void cp_initialize_namespace (void);
-
-extern void cp_finalize_namespace (struct block *static_block,
-                                  struct obstack *obstack);
-
 extern void cp_set_block_scope (const struct symbol *symbol,
                                struct block *block,
                                struct obstack *obstack,
@@ -221,9 +219,9 @@ extern struct symbol *cp_lookup_symbol_imports_or_template
       const struct block *block,
       const domain_enum domain);
 
-extern struct type *cp_lookup_nested_type (struct type *parent_type,
-                                          const char *nested_name,
-                                          const struct block *block);
+extern struct symbol *cp_lookup_nested_symbol (struct type *parent_type,
+                                              const char *nested_name,
+                                              const struct block *block);
 
 struct type *cp_lookup_transparent_type (const char *name);
 
This page took 0.024628 seconds and 4 git commands to generate.