Remove CHECK_TYPEDEF, use check_typedef instead
[deliverable/binutils-gdb.git] / gdb / linespec.c
index 65155d98dda47b02d8413d171f3772edfb870f63..81f526d6f6b1428ad405c9796d2d8bdb57e9cf2a 100644 (file)
@@ -1129,7 +1129,7 @@ find_methods (struct type *t, const char *name,
     {
       int method_counter;
 
-      CHECK_TYPEDEF (t);
+      t = check_typedef (t);
 
       /* Loop over each method name.  At this level, all overloads of a name
          are counted as a single name.  There is an inner loop which loops over
@@ -2717,7 +2717,7 @@ collect_one_symbol (struct symbol *sym, void *d)
     return 1; /* Continue iterating.  */
 
   t = SYMBOL_TYPE (sym);
-  CHECK_TYPEDEF (t);
+  t = check_typedef (t);
   if (TYPE_CODE (t) != TYPE_CODE_STRUCT
       && TYPE_CODE (t) != TYPE_CODE_UNION
       && TYPE_CODE (t) != TYPE_CODE_NAMESPACE)
This page took 0.024807 seconds and 4 git commands to generate.