]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/cp-support.h
Replace the block_found global with explicit data-flow
[thirdparty/binutils-gdb.git] / gdb / cp-support.h
index e92d6e783b595c8fae0be88419e6191e1eaca21d..f9aac3f6c630fdfc363460d54651a4334e89be2e 100644 (file)
@@ -192,27 +192,29 @@ 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
+extern struct block_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 *the_namespace,
-                                                 const char *name,
-                                                 const struct block *block,
-                                                 const domain_enum domain);
+extern struct block_symbol
+  cp_lookup_symbol_namespace (const char *the_namespace,
+                             const char *name,
+                             const struct block *block,
+                             const domain_enum domain);
 
-extern struct symbol *cp_lookup_symbol_imports_or_template
+extern struct block_symbol cp_lookup_symbol_imports_or_template
      (const char *scope,
       const char *name,
       const struct block *block,
       const domain_enum domain);
 
-extern struct symbol *cp_lookup_nested_symbol (struct type *parent_type,
-                                              const char *nested_name,
-                                              const struct block *block,
-                                              const domain_enum domain);
+extern struct block_symbol
+  cp_lookup_nested_symbol (struct type *parent_type,
+                          const char *nested_name,
+                          const struct block *block,
+                          const domain_enum domain);
 
 struct type *cp_lookup_transparent_type (const char *name);