diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-16 14:20:10 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-16 14:20:10 +0000 |
commit | 7c2df24185b45306f38028ceb8bb87f28db72885 (patch) | |
tree | f080baaa17606be7e336f8de2af6b6c9acf31a1e | |
parent | 11cb6006c38a0ffde76935c424346b5d2bf15f2d (diff) | |
download | gcc-7c2df24185b45306f38028ceb8bb87f28db72885.tar.gz |
* c-decl.c, c-ppoutput.c, cpphash.h, cpplib.h, dbxout.c,
line-map.c, line-map.h, var-tracking.c: Fix comment
formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77888 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/c-decl.c | 4 | ||||
-rw-r--r-- | gcc/c-ppoutput.c | 2 | ||||
-rw-r--r-- | gcc/cpphash.h | 2 | ||||
-rw-r--r-- | gcc/cpplib.h | 2 | ||||
-rw-r--r-- | gcc/dbxout.c | 2 | ||||
-rw-r--r-- | gcc/line-map.c | 4 | ||||
-rw-r--r-- | gcc/line-map.h | 16 | ||||
-rw-r--r-- | gcc/var-tracking.c | 2 |
9 files changed, 23 insertions, 17 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 094fee8f625..ee34df8d958 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-02-16 Kazu Hirata <kazu@cs.umass.edu> + + * c-decl.c, c-ppoutput.c, cpphash.h, cpplib.h, dbxout.c, + line-map.c, line-map.h, var-tracking.c: Fix comment + formatting. + 2004-02-16 Richard Henderson <rth@redhat.com> * cse.c (cse_insn): Don't lose REG_NON_LOCAL_GOTO note. diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 0487e03d0c9..685a9c80dfd 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -794,7 +794,7 @@ match_builtin_function_types (tree newtype, tree oldtype) /* Subroutine of diagnose_mismatched_decls. Check for function type mismatch involving an empty arglist vs a nonempty one and give clearer - diagnostics. */ + diagnostics. */ static void diagnose_arglist_conflict (tree newdecl, tree olddecl, tree newtype, tree oldtype) @@ -970,7 +970,7 @@ diagnose_mismatched_decls (tree newdecl, tree olddecl, { /* If types don't match for a built-in, throw away the built-in. No point in calling locate_old_decl here, it - won't print anything. */ + won't print anything. */ warning ("%Jconflicting types for built-in function '%D'", newdecl, newdecl); return false; diff --git a/gcc/c-ppoutput.c b/gcc/c-ppoutput.c index 2d32445d4fe..1dba766b42a 100644 --- a/gcc/c-ppoutput.c +++ b/gcc/c-ppoutput.c @@ -346,7 +346,7 @@ pp_dir_change (cpp_reader *pfile ATTRIBUTE_UNUSED, const char *dir) unsigned char *to_file_quoted = alloca (to_file_len * 4 + 1); unsigned char *p; - /* cpp_quote_string does not nul-terminate, so we have to do it ourselves. */ + /* cpp_quote_string does not nul-terminate, so we have to do it ourselves. */ p = cpp_quote_string (to_file_quoted, (unsigned char *) dir, to_file_len); *p = '\0'; fprintf (print.outf, "# 1 \"%s//\"\n", to_file_quoted); diff --git a/gcc/cpphash.h b/gcc/cpphash.h index 5c14a64e07f..693d2ba7287 100644 --- a/gcc/cpphash.h +++ b/gcc/cpphash.h @@ -315,7 +315,7 @@ struct cpp_buffer unsigned char search_cached; /* One for a system header, two for a C system header file that therefore - needs to be extern "C" protected in C++, and zero otherwise. */ + needs to be extern "C" protected in C++, and zero otherwise. */ unsigned char sysp; /* The directory of the this buffer's file. Its NAME member is not diff --git a/gcc/cpplib.h b/gcc/cpplib.h index dbbf85b06c4..ffbfe1bf84a 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -533,7 +533,7 @@ extern void cpp_set_callbacks (cpp_reader *, cpp_callbacks *); returns the name of the original file; this is the same as the input file, except for preprocessed input. This will generate at least one file change callback, and possibly a line change callback - too. If there was an error opening the file, it returns NULL. */ + too. If there was an error opening the file, it returns NULL. */ extern const char *cpp_read_main_file (cpp_reader *, const char *); /* Set up built-ins like __FILE__. */ diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 899d2cd7cff..9ca79c6be83 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -885,7 +885,7 @@ dbxout_type_fields (tree type) for (tem = TYPE_FIELDS (type); tem; tem = TREE_CHAIN (tem)) { - /* If on of the nodes is an error_mark or its type is then return early. */ + /* If on of the nodes is an error_mark or its type is then return early. */ if (tem == error_mark_node || TREE_TYPE (tem) == error_mark_node) return; diff --git a/gcc/line-map.c b/gcc/line-map.c index a7398bb98ee..ceb57d45e21 100644 --- a/gcc/line-map.c +++ b/gcc/line-map.c @@ -43,7 +43,7 @@ linemap_init (struct line_maps *set) set->max_column_hint = 0; } -/* Check for and warn about line_maps entered but not exited. */ +/* Check for and warn about line_maps entered but not exited. */ void linemap_check_files_exited (struct line_maps *set) @@ -242,7 +242,7 @@ linemap_lookup (struct line_maps *set, source_location line) mx = set->used; cached = &set->maps[mn]; - /* We should get a segfault if no line_maps have been added yet. */ + /* We should get a segfault if no line_maps have been added yet. */ if (line >= cached->start_location) { if (mn + 1 == mx || line < cached[1].start_location) diff --git a/gcc/line-map.h b/gcc/line-map.h index 6f09fcfd331..28c12c2d797 100644 --- a/gcc/line-map.h +++ b/gcc/line-map.h @@ -55,9 +55,9 @@ struct line_map source_location start_location; int included_from; ENUM_BITFIELD (lc_reason) reason : CHAR_BIT; - /* The sysp field isn't really needed now that it's in cpp_buffer. */ + /* The sysp field isn't really needed now that it's in cpp_buffer. */ unsigned char sysp; - /* Number of the low-order source_location bits used for a column number. */ + /* Number of the low-order source_location bits used for a column number. */ unsigned int column_bits : 8; }; @@ -81,11 +81,11 @@ struct line_maps /* If true, prints an include trace a la -H. */ bool trace_includes; - /* Highest source_location "given out". */ + /* Highest source_location "given out". */ source_location highest_location; /* The maximum column number we can quickly allocate. Higher numbers - may require allocating a new line_map. */ + may require allocating a new line_map. */ unsigned int max_column_hint; }; @@ -95,7 +95,7 @@ extern void linemap_init (struct line_maps *); /* Free a line map set. */ extern void linemap_free (struct line_maps *); -/* Check for and warn about line_maps entered but not exited. */ +/* Check for and warn about line_maps entered but not exited. */ extern void linemap_check_files_exited (struct line_maps *); @@ -103,7 +103,7 @@ extern void linemap_check_files_exited (struct line_maps *); (physical) line TO_LINE in the current source file (as in the most recent linemap_add). MAX_COLUMN_HINT is the highest column number we expect to use in this line (but it does not change - the highest_location). */ + the highest_location). */ extern source_location linemap_line_start (struct line_maps *, unsigned int, unsigned int); @@ -158,7 +158,7 @@ extern void linemap_print_containing_files (struct line_maps *, #define MAIN_FILE_P(MAP) ((MAP)->included_from < 0) /* Get a source position that for the same line as the most recent - linemap_line_start, but with the specified TO_COLUMN column number. */ + linemap_line_start, but with the specified TO_COLUMN column number. */ static inline source_location linemap_position_for_column (struct line_maps *set, unsigned int to_column) @@ -169,7 +169,7 @@ linemap_position_for_column (struct line_maps *set, unsigned int to_column) { if (r >= 0xC000000 || to_column > 1000000) /* FIXME */ { - /* Running low on source_locations - disable column numbers. */ + /* Running low on source_locations - disable column numbers. */ return r - SOURCE_COLUMN (map, r); } else diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index d0a0f8af626..2a7e032b84f 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -112,7 +112,7 @@ enum micro_operation_type MO_SET, /* Set location. */ MO_CLOBBER, /* Clobber location. */ MO_CALL, /* Call insn. */ - MO_ADJUST /* Adjust stack pointer. */ + MO_ADJUST /* Adjust stack pointer. */ }; /* Where shall the note be emitted? BEFORE or AFTER the instruction. */ |