~npalix/coccinelle/upstream

Viewing all changes in revision 5047.

  • Committer: Julia Lawall
  • Author(s): Keisuke Nishimura
  • Date: 2021-08-26 09:04:06 UTC
  • Revision ID: git-v1:838a0cc97392e2062f7bbc80d500d5fc42df9c05
Add support for attributes just before { in function definition

This patch allows to support attributes just before { in function
definition like: void func() __arg(1) { }. For example, some functions
in Linux include __acquires() and __releases() attributes in this position.

Signed-off-by: Keisuke Nishimura <mumumu0722@gmail.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: