The NetBSD Project

CVS log for src/tests/usr.bin/indent/Attic/declarations.0.stdout

[BACK] Up to [cvs.NetBSD.org] / src / tests / usr.bin / indent

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6, Fri Oct 22 19:27:53 2021 UTC (2 years, 5 months ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED

tests/indent: migrate a few more tests to t_options

Revision 1.5 / (download) - annotate - [select for diffs], Thu Sep 30 21:48:12 2021 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

indent: remove space between ')' and '(' in declarations

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 26 18:52:16 2021 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.3: +3 -4 lines
Diff to previous 1.3 (colored)

indent: fix missing space between comma and ellipsis

According to lint's C grammar, in standard C an ellipsis only occurs
after a comma. There are GCC extensions that allow an ellipsis as the
only function parameter, as well as in 'case a ... b', but these are
rare.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Sep 26 18:42:46 2021 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.2: +7 -1 lines
Diff to previous 1.2 (colored)

tests/indent: demonstrate missing space before ellipsis

Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 25 13:04:55 2021 UTC (2 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.1: +51 -1 lines
Diff to previous 1.1 (colored)

tests/indent: test deeply nested struct declarations

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:10:12 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.1.2.1: +74 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.1.2.1, Thu Apr 4 15:27:35 2019 UTC (5 years ago) by christos
Branch: phil-wifi
Changes since 1.1: +0 -74 lines
FILE REMOVED

file declarations.0.stdout was added on branch phil-wifi on 2019-06-10 22:10:12 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Thu Apr 4 15:27:35 2019 UTC (5 years ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: phil-wifi

Upgrade indent(1)

Merge all the changes from the recent FreeBSD HEAD snapshot
into our local copy.

FreeBSD actively maintains this program in their sources and their
repository contains over 100 commits with changes.

Keep the delta between the FreeBSD and NetBSD versions to absolute
minimum, mostly RCS Id and compatiblity fixes.

Major chages in this import:

 - Added an option -ldi<N> to control indentation of local variable names.
 - Added option -P for loading user-provided files as profiles
 - Added -tsn for setting tabsize
 - Rename -nsac/-sac ("space after cast") to -ncs/-cs
 - Added option -fbs Enables (disables) splitting the function declaration and opening brace across two lines.
 - Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1)
 - Group global option variables into an options structure
 - Use bsearch() for looking up type keywords.
 - Don't produce unneeded space character in function declarators
 - Don't unnecessarily add a blank before a comment ends.
 - Don't ignore newlines after comments that follow braces.

Merge the FreeBSD intend(1) tests with our ATF framework.
All tests pass.

Upgrade prepared by Manikishan Ghantasala.
Final polishing by myself.

Part II, checkin new files.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>