c-decl.c, [...]: Fix comment formatting.

* c-decl.c, c-ppoutput.c, cpphash.h, cpplib.h, dbxout.c,
	line-map.c, line-map.h, var-tracking.c: Fix comment
	formatting.

From-SVN: r77888
This commit is contained in:
Kazu Hirata 2004-02-16 14:20:10 +00:00 committed by Kazu Hirata
parent 875427f0e6
commit 9ac9746067
9 changed files with 23 additions and 17 deletions

View File

@ -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.

View File

@ -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;

View File

@ -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);

View File

@ -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

View File

@ -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__. */

View File

@ -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;

View File

@ -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)

View File

@ -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

View File

@ -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. */