aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/class.c
diff options
context:
space:
mode:
authorRanjit Mathew <rmathew@gcc.gnu.org>2004-06-27 18:16:49 +0000
committerRanjit Mathew <rmathew@gcc.gnu.org>2004-06-27 18:16:49 +0000
commitfe0b9fb522697476efe3f577aa92d0aac6bd220e (patch)
treeae6a831680a4a8773039866e4630fca3682dcab3 /gcc/java/class.c
parenta6048f29032044e460566124fd2634b4a9217a42 (diff)
downloadgcc-fe0b9fb522697476efe3f577aa92d0aac6bd220e.zip
gcc-fe0b9fb522697476efe3f577aa92d0aac6bd220e.tar.gz
gcc-fe0b9fb522697476efe3f577aa92d0aac6bd220e.tar.bz2
Formatting fixes.
* expr.c (class_has_finalize_method): Fix method name indentation. (expand_java_call): Remove K&R style parameter declaration. (expand_invoke): Fix statement indentation. (expand_java_field_op): Likewise. * parse-scan.y: Fix typo. (reset_report): Fix method name indentation. * parse.y (unresolved_type_p, build_expr_block): Remove extra blank line. Fix typos. * verify.c (verify_jvm_instructions): Document parameters, insert page break. * lang.c (lang_init_source): Fix method name indentation. * class.c (common_enclosing_context_p): Likewise. (emit_symbol_table): Fix parameter list indentation. * decl.c (add_stmt_to_compound, java_add_stmt): Remove K&R style parameter declaration. * constants.c: Fix copyright notice indentation. * typeck.c (find_method_in_superclasses): Fix parameter list indentation. (find_method_in_interfaces): Likewise. * zextract.c (makelong): Fix method name indentation. From-SVN: r83738
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r--gcc/java/class.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c
index ca9d627..a9852d5d 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -349,7 +349,8 @@ unmangle_classname (const char *name, int name_length)
}
-/* Given a class, create the DECLs for all its associated indirect dispatch tables. */
+/* Given a class, create the DECLs for all its associated indirect
+ dispatch tables. */
void
gen_indirect_dispatch_tables (tree type)
{
@@ -588,7 +589,8 @@ enclosing_context_p (tree type1, tree type2)
/* Return 1 iff there exists a common enclosing context between TYPE1
and TYPE2. */
-int common_enclosing_context_p (tree type1, tree type2)
+int
+common_enclosing_context_p (tree type1, tree type2)
{
if (!PURE_INNER_CLASS_TYPE_P (type1) || !PURE_INNER_CLASS_TYPE_P (type2))
return 0;
@@ -2358,8 +2360,8 @@ build_symbol_entry (tree decl)
/* Emit a symbol table: used by -findirect-dispatch. */
tree
-emit_symbol_table (tree name, tree the_table, tree decl_list, tree the_syms_decl,
- tree the_array_element_type)
+emit_symbol_table (tree name, tree the_table, tree decl_list,
+ tree the_syms_decl, tree the_array_element_type)
{
tree method_list, method, table, list, null_symbol;
tree table_size, the_array_type;