diff options
author | Doug Evans <xdje42@gmail.com> | 2014-10-31 20:20:48 -0700 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-10-31 20:20:48 -0700 |
commit | 8301c89eb5f179cbcdfe7666ecef844fc732f97c (patch) | |
tree | 7e61e3d6ddcf8763e792c7b9a5c7f9e2b922105b | |
parent | 2a03f3073118b862339be183023b5964a3fa8dae (diff) | |
download | gdb-8301c89eb5f179cbcdfe7666ecef844fc732f97c.zip gdb-8301c89eb5f179cbcdfe7666ecef844fc732f97c.tar.gz gdb-8301c89eb5f179cbcdfe7666ecef844fc732f97c.tar.bz2 |
valops.c: Fix some whitespace.
gdb/ChangeLog:
* valops.c (value_cast_pointers): Fix whitespace.
(typecmp, search_struct_method, value_struct_elt, find_oload_champ):
Ditto.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/valops.c | 12 |
2 files changed, 12 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 543dcb3..2e7b8dc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2014-10-31 Doug Evans <xdje42@gmail.com> + + * valops.c (value_cast_pointers): Fix whitespace. + (typecmp, search_struct_method, value_struct_elt, find_oload_champ): + Ditto. + 2014-10-30 Doug Evans <dje@google.com> * NEWS: Mention ability add attributes to gdb.Objfile and diff --git a/gdb/valops.c b/gdb/valops.c index 7f3e4f5..c09e4fd 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -332,7 +332,7 @@ value_cast_pointers (struct type *type, struct value *arg2, deprecated_set_value_type (v, type); return v; } - } + } /* No superclass found, just change the pointer type. */ arg2 = value_copy (arg2); @@ -1720,7 +1720,7 @@ typecmp (int staticp, int varargs, int nargs, tt2 = check_typedef (value_type (t2[i])); if (TYPE_CODE (tt1) == TYPE_CODE_REF - /* We should be doing hairy argument matching, as below. */ + /* We should be doing hairy argument matching, as below. */ && (TYPE_CODE (check_typedef (TYPE_TARGET_TYPE (tt1))) == TYPE_CODE (tt2))) { @@ -2054,7 +2054,7 @@ search_struct_method (const char *name, struct value **arg1p, /* The virtual base class pointer might have been clobbered by the user program. Make sure that it - still points to a valid memory location. */ + still points to a valid memory location. */ if (offset < 0 || offset >= TYPE_LENGTH (type)) { @@ -2184,8 +2184,8 @@ value_struct_elt (struct value **argp, struct value **args, return v; } - v = search_struct_method (name, argp, args, 0, - static_memfuncp, t); + v = search_struct_method (name, argp, args, 0, + static_memfuncp, t); if (v == (struct value *) - 1) { @@ -3049,7 +3049,7 @@ find_oload_champ (struct value **args, int nargs, parm_types[jj] = (fns_ptr != NULL ? (TYPE_FN_FIELD_ARGS (fns_ptr, ix)[jj].type) : TYPE_FIELD_TYPE (SYMBOL_TYPE (oload_syms[ix]), - jj)); + jj)); } /* Compare parameter types to supplied argument types. Skip |