Update comment for struct type's length field, introduce type_length_units
[deliverable/binutils-gdb.git] / gdb / cp-support.h
index efd1e18b50528f3fec9319e8cdd0257210c9553d..e92d6e783b595c8fae0be88419e6191e1eaca21d 100644 (file)
@@ -1,5 +1,5 @@
 /* Helper routines for C++ support in GDB.
-   Copyright (C) 2002-2014 Free Software Foundation, Inc.
+   Copyright (C) 2002-2015 Free Software Foundation, Inc.
 
    Contributed by MontaVista Software.
    Namespace support contributed by David Carlton.
@@ -192,11 +192,13 @@ extern void cp_add_using_directive (const char *dest,
 extern void cp_scan_for_anonymous_namespaces (const struct symbol *symbol,
                                              struct objfile *objfile);
 
-extern struct symbol *cp_lookup_symbol_nonlocal (const char *name,
-                                                const struct block *block,
-                                                const domain_enum domain);
+extern struct symbol *cp_lookup_symbol_nonlocal
+     (const struct language_defn *langdef,
+      const char *name,
+      const struct block *block,
+      const domain_enum domain);
 
-extern struct symbol *cp_lookup_symbol_namespace (const char *namespace,
+extern struct symbol *cp_lookup_symbol_namespace (const char *the_namespace,
                                                  const char *name,
                                                  const struct block *block,
                                                  const domain_enum domain);
@@ -209,14 +211,15 @@ extern struct symbol *cp_lookup_symbol_imports_or_template
 
 extern struct symbol *cp_lookup_nested_symbol (struct type *parent_type,
                                               const char *nested_name,
-                                              const struct block *block);
+                                              const struct block *block,
+                                              const domain_enum domain);
 
 struct type *cp_lookup_transparent_type (const char *name);
 
 /* See description in cp-namespace.c.  */
 
-struct type *find_type_baseclass_by_name (struct type *parent_type,
-                                         const char *name);
+struct type *cp_find_type_baseclass_by_name (struct type *parent_type,
+                                            const char *name);
 
 /* Functions from cp-name-parser.y.  */
 
This page took 0.026218 seconds and 4 git commands to generate.