aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2017-05-15 08:14:32 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2017-05-15 08:14:32 +0000
commitb1b2b511e525b098204c590b0eafa7d36092b7e1 (patch)
treebcc1d733b4e48add82745d886ea9a58bd46a228d /gcc/ada/gcc-interface/utils.c
parent04bc3c93bec894ca85bc448b40af42545a280928 (diff)
downloadgcc-b1b2b511e525b098204c590b0eafa7d36092b7e1.zip
gcc-b1b2b511e525b098204c590b0eafa7d36092b7e1.tar.gz
gcc-b1b2b511e525b098204c590b0eafa7d36092b7e1.tar.bz2
trans.c (gnat_to_gnu): Fix formatting.
* gcc-interface/trans.c (gnat_to_gnu) <N_Aggregate>: Fix formatting. <N_Allocator>: Use properly typed constants. (extract_values): Move around. (pos_to_constructor): Minor tweaks. (Sloc_to_locus): Fix formatting. * gcc-interface/utils.c (process_deferred_decl_context): Minor tweaks. * gcc-interface/gigi.h (MARK_VISITED): Remove blank line. (Gigi_Equivalent_Type): Adjust head comment. * gcc-interface/decl.c (Gigi_Equivalent_Type): Likewise. From-SVN: r248050
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
-rw-r--r--gcc/ada/gcc-interface/utils.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ada/gcc-interface/utils.c b/gcc/ada/gcc-interface/utils.c
index 4549a1b..4fabddf 100644
--- a/gcc/ada/gcc-interface/utils.c
+++ b/gcc/ada/gcc-interface/utils.c
@@ -2992,7 +2992,7 @@ process_deferred_decl_context (bool force)
struct deferred_decl_context_node **it = &deferred_decl_context_queue;
struct deferred_decl_context_node *node;
- while (*it != NULL)
+ while (*it)
{
bool processed = false;
tree context = NULL_TREE;
@@ -3000,7 +3000,7 @@ process_deferred_decl_context (bool force)
node = *it;
- /* If FORCE, get the innermost elaborated scope. Otherwise, just try to
+ /* If FORCE, get the innermost elaborated scope. Otherwise, just try to
get the first scope. */
gnat_scope = node->gnat_scope;
while (Present (gnat_scope))
@@ -3058,7 +3058,6 @@ process_deferred_decl_context (bool force)
}
}
-
/* Return VALUE scaled by the biggest power-of-2 factor of EXPR. */
static unsigned int