aboutsummaryrefslogtreecommitdiff
path: root/contrib/check-params-in-docs.py
AgeCommit message (Collapse)AuthorFilesLines
2024-09-18contrib: Set check-params-in-docs.py to skip tables of values of a paramFilip Kastl1-2/+11
Currently check-params-in-docs.py reports extra params being listed in invoke.texi. However, those aren't actual params but items in a table of possible values of the aarch64-autove-preference param. This patch changes check-params-in-docs.py to ignore similar tables. contrib/ChangeLog: * check-params-in-docs.py: Skip tables of values of a param. Remove code that skips items beginning with a number. Signed-off-by: Filip Kastl <fkastl@suse.cz>
2024-04-12contrib/check-params-in-docs.py: Ignore target-specific paramsFilip Kastl1-8/+13
contrib/check-params-in-docs.py is a script that checks that all options reported with gcc --help=params are in gcc/doc/invoke.texi and vice versa. gcc/doc/invoke.texi lists target-specific params but gcc --help=params doesn't. This meant that the script would mistakenly complain about parms missing from --help=params. Previously, the script was just set to ignore aarch64 and gcn params which solved this issue only for x86. This patch sets the script to ignore all target-specific params. contrib/ChangeLog: * check-params-in-docs.py: Ignore target specific params. Signed-off-by: Filip Kastl <fkastl@suse.cz>
2024-04-11contrib/check-params-in-docs.py: Ignore gcn-preferred-vectorization-factorMartin Jambor1-1/+1
contrib/check-params-in-docs.py is a script that checks that all options reported with ./gcc/xgcc -Bgcc --help=param are in gcc/doc/invoke.texi and vice versa. gcn-preferred-vectorization-factor is in the manual but normally not reported by --help, probably because I do not have gcn offload configured. This patch makes the script silently about this particular fact. contrib/ChangeLog: 2024-04-11 Martin Jambor <mjambor@suse.cz> * check-params-in-docs.py (ignored): Add gcn-preferred-vectorization-factor.
2024-01-05contrib: Remove C-style comments from Python filesJonathan Wakely1-1/+1
These Python scripts have "*/" at the end of the license header comment blocks, presumably copy&pasted from C files. contrib/ChangeLog: * analyze_brprob.py: Remove stray text at end of comment. * analyze_brprob_spec.py: Likewise. * check-params-in-docs.py: Likewise. * check_GNU_style.py: Likewise. * check_GNU_style_lib.py: Likewise. * filter-clang-warnings.py: Likewise. * gcc-changelog/git_check_commit.py: Likewise. * gcc-changelog/git_commit.py: Likewise. * gcc-changelog/git_email.py: Likewise. * gcc-changelog/git_repository.py: Likewise. * gcc-changelog/git_update_version.py: Likewise. * gcc-changelog/test_email.py: Likewise. * gen_autofdo_event.py: Likewise. * mark_spam.py: Likewise. * unicode/gen-box-drawing-chars.py: Likewise. * unicode/gen-combining-chars.py: Likewise. * unicode/gen-printable-chars.py: Likewise. * unicode/gen_wcwidth.py: Likewise.
2024-01-03Update copyright years.Jakub Jelinek1-1/+1
2023-01-16Update copyright years.Jakub Jelinek1-1/+1
2022-12-14contrib: add copyright for my scriptsMartin Liska1-0/+2
contrib/ChangeLog: * analyze_brprob.py: Add copyright header. * analyze_brprob_spec.py: Likewise. * check-params-in-docs.py: Likewise. * check_GNU_style.py: Likewise. * check_GNU_style_lib.py: Likewise. * filter-clang-warnings.py: Likewise. * gcc-changelog/git_check_commit.py: Likewise. * gcc-changelog/git_commit.py: Likewise. * gcc-changelog/git_email.py: Likewise. * gcc-changelog/git_repository.py: Likewise. * gcc-changelog/git_update_version.py: Likewise. * gcc-changelog/test_email.py: Likewise. * mark_spam.py: Likewise.
2021-11-23contrib: Support itemx in check-params-in-docs.py.Martin Liska1-10/+12
contrib/ChangeLog: * check-params-in-docs.py: Support @itemx in param documentation and support multi-line documentation for parameters.
2020-12-04Document missing params.Martin Liska1-1/+11
contrib/ChangeLog: * check-params-in-docs.py: use flake8 and add some tweaks to ignore aarch64 params. gcc/ChangeLog: * doc/invoke.texi: Add missing params.
2020-05-28Fix check-params-in-docs.py for --help=param.Martin Liska1-7/+10
contrib/ChangeLog: * check-params-in-docs.py: Update to new format of help. Apply flake8 corrections.
2019-03-06Ignore a param in check-params-in-docs.pyMartin Liska1-2/+3
2019-03-06 Martin Liska <mliska@suse.cz> * check-params-in-docs.py: Ignore a param. From-SVN: r269414
2018-09-25Document all param values and remove defaults (PR middle-end/86078).Martin Liska1-0/+76
2018-09-25 Martin Liska <mliska@suse.cz> PR middle-end/86078 * doc/invoke.texi: Document all parameters and remove default of the parameters. 2018-09-25 Martin Liska <mliska@suse.cz> PR middle-end/86078 * check-params-in-docs.py: New file. From-SVN: r264558