mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-07 13:28:05 +08:00
vcs-to-changelog: Add quirk for __nonnull
The parser cannot identify the __nonnull off the bat and confuses
__typeof in the change db25266c9
to be a function declaration.
This commit is contained in:
parent
a332bd1518
commit
a9ed2b2747
@ -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))'}]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user