* [COMMITTED] vcs-to-changelog: Add quirk for __nonnull
@ 2020-01-17 3:56 Siddhesh Poyarekar
0 siblings, 0 replies; only message in thread
From: Siddhesh Poyarekar @ 2020-01-17 3:56 UTC (permalink / raw)
To: libc-alpha
The parser cannot identify the __nonnull off the bat and confuses
__typeof in the change db25266c9 to be a function declaration.
---
scripts/vcs_to_changelog/vcstocl_quirks.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/vcs_to_changelog/vcstocl_quirks.py b/scripts/vcs_to_changelog/vcstocl_quirks.py
index 2417e962b9..0e611ffd7d 100644
--- a/scripts/vcs_to_changelog/vcstocl_quirks.py
+++ b/scripts/vcs_to_changelog/vcstocl_quirks.py
@@ -39,6 +39,8 @@ class GlibcProjectQuirks(ProjectQuirks):
'sub': r'__attribute__ ((\1))'},
{'orig': r'__THROW', 'sub': r'__attribute__ ((__nothrow__ __LEAF))'},
{'orig': r'__THROWNL', 'sub': r'__attribute__ ((__nothrow__))'},
+ {'orig': r'__nonnull \(\(([^)]+)\)\)',
+ 'sub': r'__attribute__ ((__nonnull__ \1))'},
{'orig': r'([^_])attribute_(\w+)', 'sub': r'\1__attribute__ ((\2))'},
{'orig': r'^attribute_(\w+)', 'sub': r'__attribute__ ((\1))'}]
--
2.24.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-17 3:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-17 3:56 [COMMITTED] vcs-to-changelog: Add quirk for __nonnull Siddhesh Poyarekar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).