From patchwork Sat Nov 1 03:23:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 3535 Received: (qmail 7583 invoked by alias); 1 Nov 2014 03:24:38 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 7568 invoked by uid 89); 1 Nov 2014 03:24:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, KAM_STOCKGEN, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pd0-f178.google.com Received: from mail-pd0-f178.google.com (HELO mail-pd0-f178.google.com) (209.85.192.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 01 Nov 2014 03:24:35 +0000 Received: by mail-pd0-f178.google.com with SMTP id fp1so8258575pdb.23 for ; Fri, 31 Oct 2014 20:24:33 -0700 (PDT) X-Received: by 10.68.90.225 with SMTP id bz1mr61408pbb.153.1414812273568; Fri, 31 Oct 2014 20:24:33 -0700 (PDT) Received: from sspiff.org (173-13-178-53-sfba.hfc.comcastbusiness.net. [173.13.178.53]) by mx.google.com with ESMTPSA id nq2sm11159587pdb.74.2014.10.31.20.24.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Oct 2014 20:24:32 -0700 (PDT) Received: by sspiff.org (sSMTP sendmail emulation); Fri, 31 Oct 2014 20:23:41 -0700 From: Doug Evans To: gdb-patches@sourceware.org Subject: [OB PATCH] valops.c: Fix some whitespace. Date: Fri, 31 Oct 2014 20:23:41 -0700 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. Just some whitespace fixes in valops.c. Committed. 2014-10-31 Doug Evans * valops.c (value_cast_pointers): Fix whitespace. (typecmp, search_struct_method, value_struct_elt, find_oload_champ): Ditto. diff --git a/gdb/valops.c b/gdb/valops.c index 8d5667e..ff25e53 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