diff options
author | Martin Liska <mliska@suse.cz> | 2019-03-11 14:59:04 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-03-11 13:59:04 +0000 |
commit | 93964ebd2fec8d9e2132e118b02f93bea074ebd2 (patch) | |
tree | 8fda972202e700a77c6634e36bb92060c51041a4 /contrib | |
parent | a3f9f006a8e24bfc2a045b918a4f3665407f0018 (diff) | |
download | gcc-93964ebd2fec8d9e2132e118b02f93bea074ebd2.tar.gz |
Wrap apostrophes in gcc internal format with %'.
2019-03-11 Martin Liska <mliska@suse.cz>
* check-internal-format-escaping.py: Uncomment apostrophes
check.
2019-03-11 Martin Liska <mliska@suse.cz>
* collect-utils.c (collect_wait): Wrap apostrophes
in gcc internal format with %'.
* collect2.c (main): Likewise.
(scan_prog_file): Likewise.
(scan_libraries): Likewise.
* config/i386/i386.c (ix86_expand_call): Likewise.
(ix86_handle_interrupt_attribute): Likewise.
* config/nds32/nds32-intrinsic.c (nds32_expand_builtin_impl): Likewise.
* config/nds32/nds32.c (nds32_insert_attributes): Likewise.
* config/rl78/rl78.c (rl78_handle_saddr_attribute): Likewise.
* lto-wrapper.c (find_crtoffloadtable): Likewise.
* symtab.c (symtab_node::verify_base): Likewise.
* tree-cfg.c (verify_gimple_label): Likewise.
* tree.c (verify_type_variant): Likewise.
2019-03-11 Martin Liska <mliska@suse.cz>
* c-opts.c (c_common_post_options): Wrap apostrophes
in gcc internal format with %'.
2019-03-11 Martin Liska <mliska@suse.cz>
* cvt.c (build_expr_type_conversion): Wrap apostrophes
in gcc internal format with %'.
* decl.c (check_no_redeclaration_friend_default_args): Likewise.
(grokfndecl): Likewise.
* name-lookup.c (do_pushtag): Likewise.
* pt.c (unify_parameter_deduction_failure): Likewise.
(unify_template_deduction_failure): Likewise.
From-SVN: r269587
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 5 | ||||
-rwxr-xr-x | contrib/check-internal-format-escaping.py | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index cd5a983ee7d..74e9592f8c2 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,5 +1,10 @@ 2019-03-11 Martin Liska <mliska@suse.cz> + * check-internal-format-escaping.py: Uncomment apostrophes + check. + +2019-03-11 Martin Liska <mliska@suse.cz> + * check-internal-format-escaping.py: New file. 2019-03-10 Tommy Nguyen <remyabel@gmail.com> diff --git a/contrib/check-internal-format-escaping.py b/contrib/check-internal-format-escaping.py index 5513b762271..5da56b59dd6 100755 --- a/contrib/check-internal-format-escaping.py +++ b/contrib/check-internal-format-escaping.py @@ -56,8 +56,8 @@ for i, l in enumerate(lines): print('%s: %s' % (origin, text)) elif p.startswith('__builtin_'): print('%s: %s' % (origin, text)) -# if re.search("[a-zA-Z]'[a-zA-Z]", p): -# print('%s: %s' % (origin, text)) + if re.search("[a-zA-Z]'[a-zA-Z]", p): + print('%s: %s' % (origin, text)) j += 1 origin = None |