cp_find_type_baseclass_by_name: Renamed from find_type_baseclass_by_name.
authorDoug Evans <xdje42@gmail.com>
Wed, 17 Dec 2014 06:13:57 +0000 (22:13 -0800)
committerDoug Evans <xdje42@gmail.com>
Wed, 17 Dec 2014 06:13:57 +0000 (22:13 -0800)
gdb/ChangeLog:

* cp-namespace.c (cp_find_type_baseclass_by_name): Renamed from
find_type_baseclass_by_name.  All callers updated.

gdb/ChangeLog
gdb/c-exp.y
gdb/cp-namespace.c
gdb/cp-support.h

index 087c9c9f844abc09487904610d095380624deb9e..bf2fe6fadb0bd3897ca04f4863c2097c028d3a6c 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-16  Doug Evans  <xdje42@gmail.com>
+
+       * cp-namespace.c (cp_find_type_baseclass_by_name): Renamed from
+       find_type_baseclass_by_name.  All callers updated.
+
 2014-12-16  Doug Evans  <xdje42@gmail.com>
 
        * symtab.h (struct symbol_search) <symtab>: Delete.  All uses updated.
index 92ff3b6d4e4b9d7c24c415f9893a7cda51303a4d..9d1c4c7755eecf6d6bb9c190791635f07b7a5467 100644 (file)
@@ -3019,7 +3019,7 @@ classify_inner_name (struct parser_state *par_state,
      relative to the `this' pointer.  */
   if (yylval.ssym.sym == NULL)
     {
-      struct type *base_type = find_type_baseclass_by_name (type, copy);
+      struct type *base_type = cp_find_type_baseclass_by_name (type, copy);
 
       if (base_type != NULL)
        {
@@ -3038,7 +3038,7 @@ classify_inner_name (struct parser_state *par_state,
         named COPY when we really wanted a base class of the same name.
         Double-check this case by looking for a base class.  */
       {
-       struct type *base_type = find_type_baseclass_by_name (type, copy);
+       struct type *base_type = cp_find_type_baseclass_by_name (type, copy);
 
        if (base_type != NULL)
          {
index c083327454b7b46a7d021ac7bed82233ee44f10a..30667373ad6cd9ede4617f2ffeefcc47ad988387 100644 (file)
@@ -697,7 +697,7 @@ cp_lookup_symbol_nonlocal (const char *name,
    named NAME and return its type.  If not found, return NULL.  */
 
 struct type *
-find_type_baseclass_by_name (struct type *parent_type, const char *name)
+cp_find_type_baseclass_by_name (struct type *parent_type, const char *name)
 {
   int i;
 
@@ -713,7 +713,7 @@ find_type_baseclass_by_name (struct type *parent_type, const char *name)
       if (streq (base_name, name))
        return type;
 
-      type = find_type_baseclass_by_name (type, name);
+      type = cp_find_type_baseclass_by_name (type, name);
       if (type != NULL)
        return type;
     }
index efd1e18b50528f3fec9319e8cdd0257210c9553d..2594e34cc1e333cfc9f7d68be54e81e54be76d1c 100644 (file)
@@ -215,8 +215,8 @@ 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.033813 seconds and 4 git commands to generate.