gdb: remove TYPE_CODE macro
[deliverable/binutils-gdb.git] / gdb / d-namespace.c
index de27ab779a019a41d556d1d570e79855edfe58fa..f15708b60bfa0c9448404947a4c4f588088b3d94 100644 (file)
@@ -308,7 +308,7 @@ d_lookup_nested_symbol (struct type *parent_type,
 
   parent_type = check_typedef (parent_type);
 
-  switch (TYPE_CODE (parent_type))
+  switch (parent_type->code ())
     {
     case TYPE_CODE_STRUCT:
     case TYPE_CODE_UNION:
This page took 0.023809 seconds and 4 git commands to generate.