This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch obvious] Fix indentation in c-typeck.c parser_build_unary_op
- From: James Greenhalgh <james dot greenhalgh at arm dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Cc: <nd at arm dot com>, <joseph at codesourcery dot com>, <rth at redhat dot com>
- Date: Tue, 17 May 2016 10:04:56 +0100
- Subject: [Patch obvious] Fix indentation in c-typeck.c parser_build_unary_op
- Authentication-results: sourceware.org; auth=none
- Nodisclaimer: True
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:23
Hi,
This patch is an obvious fix for some out of place indentation in
parser_build_unary_op.
I've checked that my new spacing didn't break the build on aarch64 or
x86_64.
Committed as obvious as revision 236313.
Thanks,
James
---
gcc/c/
2016-05-17 James Greenhalgh <james.greenhalgh@arm.com>
* c-typeck.c (parser_build_unary_op): Fix formatting.
diff --git a/gcc/c/c-typeck.c b/gcc/c/c-typeck.c
index b037f46..8297aae 100644
--- a/gcc/c/c-typeck.c
+++ b/gcc/c/c-typeck.c
@@ -3491,8 +3491,8 @@ parser_build_unary_op (location_t loc, enum tree_code code, struct c_expr arg)
{
result.value = build_unary_op (loc, code, arg.value, 0);
- if (TREE_OVERFLOW_P (result.value) && !TREE_OVERFLOW_P (arg.value))
- overflow_warning (loc, result.value);
+ if (TREE_OVERFLOW_P (result.value) && !TREE_OVERFLOW_P (arg.value))
+ overflow_warning (loc, result.value);
}
/* We are typically called when parsing a prefix token at LOC acting on