Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • scripts
  • kernel-doc
Find file BlameHistoryPermalink
  • Paolo Bonzini's avatar
    kernel-doc: strip attributes even if they have an argument · b1aaa546
    Paolo Bonzini authored Jan 02, 2017
    
    
    An inline function can have an attribute, as in include/linux/log2.h,
    and kernel-doc handles this already for simple cases.  However,
    some attributes have arguments (e.g. the "target" attribute).
    Handle those too.
    
    Furthermore, attributes could be at the beginning of a function
    declaration, before the return type.  To correctly handle this case,
    you need to strip spaces after the attributes; otherwise, dump_function
    is left confused.
    
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    Acked-by: default avatarJani Nikula <jani.nikula@intel.com>
    Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
    b1aaa546
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7