Commit 636b4106 by Gary Funck Committed by Gary Funck

c-decl.c (grokdeclarator): Fix formatting.


2011-04-01  Gary Funck <gary@intrepid.com>

	* c-decl.c (grokdeclarator): Fix formatting.

From-SVN: r171831
parent 72691ba6
2011-04-01 Gary Funck <gary@intrepid.com>
* c-decl.c (grokdeclarator): Fix formatting.
2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org>
* expr.c (emit_block_move_via_movmem): Use n_generator_args * expr.c (emit_block_move_via_movmem): Use n_generator_args
......
...@@ -5450,7 +5450,7 @@ grokdeclarator (const struct c_declarator *declarator, ...@@ -5450,7 +5450,7 @@ grokdeclarator (const struct c_declarator *declarator,
} }
} }
/* Complain about arrays of incomplete types. */ /* Complain about arrays of incomplete types. */
if (!COMPLETE_TYPE_P (type)) if (!COMPLETE_TYPE_P (type))
{ {
error_at (loc, "array type has incomplete element type"); error_at (loc, "array type has incomplete element type");
...@@ -5936,7 +5936,7 @@ grokdeclarator (const struct c_declarator *declarator, ...@@ -5936,7 +5936,7 @@ grokdeclarator (const struct c_declarator *declarator,
if (storage_class == csc_register || threadp) if (storage_class == csc_register || threadp)
{ {
error_at (loc, "invalid storage class for function %qE", name); error_at (loc, "invalid storage class for function %qE", name);
} }
else if (current_scope != file_scope) else if (current_scope != file_scope)
{ {
/* Function declaration not at file scope. Storage /* Function declaration not at file scope. Storage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment