Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: dje@google.com (Doug Evans)
To: gdb-patches@sourceware.org
Subject: [RFC] ||/&& placement
Date: Tue, 29 Jan 2008 04:18:00 -0000	[thread overview]
Message-ID: <20080129034212.D1CDF1C72AA@localhost> (raw)

Hi.  Do changes like the following fall under the "obvious" rule?

[One might want to fold the && plus its next line into one line -
I think it's reasonable, but it's orthogonal to the question I'm
asking here.]

2008-01-28  Doug Evans  <dje@google.com>

	* typeprint.c (whatis_exp): Fix formatting.

Index: typeprint.c
===================================================================
RCS file: /cvs/src/src/gdb/typeprint.c,v
retrieving revision 1.30
diff -u -p -u -p -r1.30 typeprint.c
--- typeprint.c	1 Jan 2008 22:53:13 -0000	1.30
+++ typeprint.c	29 Jan 2008 03:38:10 -0000
@@ -133,8 +133,8 @@ whatis_exp (char *exp, int show)
 
   if (objectprint)
     {
-      if (((TYPE_CODE (type) == TYPE_CODE_PTR) ||
-           (TYPE_CODE (type) == TYPE_CODE_REF))
+      if (((TYPE_CODE (type) == TYPE_CODE_PTR)
+	   || (TYPE_CODE (type) == TYPE_CODE_REF))
           &&
           (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_CLASS))
         {


             reply	other threads:[~2008-01-29  3:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29  4:18 Doug Evans [this message]
2008-01-29  4:53 ` Eli Zaretskii
2008-01-29  6:42 ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080129034212.D1CDF1C72AA@localhost \
    --to=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox