Convert lvalue reference type check to general reference type check
[deliverable/binutils-gdb.git] / gdb / cp-support.c
index b1b96c8f0577ba21b99c5133ca923aa881abb927..5704466c923bd3800a913c3cd040805e1b487929 100644 (file)
@@ -1242,7 +1242,7 @@ make_symbol_overload_list_adl_namespace (struct type *type,
   int i, prefix_len;
 
   while (TYPE_CODE (type) == TYPE_CODE_PTR
-        || TYPE_CODE (type) == TYPE_CODE_REF
+        || TYPE_IS_REFERENCE (type)
          || TYPE_CODE (type) == TYPE_CODE_ARRAY
          || TYPE_CODE (type) == TYPE_CODE_TYPEDEF)
     {
This page took 0.025819 seconds and 4 git commands to generate.