Mentions légales du service

Skip to content
  • Keisuke Nishimura's avatar
    parsing_cocci: ast0: Make Attibute in SmPL's AST more general · 57cbff0c
    Keisuke Nishimura authored and LAWALL Julia's avatar LAWALL Julia committed
    
    
    This patch changes the structure of 'Attribute'. In order to
    support __attribute__ later, the current Attribute needs to be
    refactored into a more general structure.
    
    SmPL's ast structure(current):
    __foo => Attribute( __foo)  or MetaAttribute (__foo)
    
    SmPL's ast structure(proposed):
    __foo => Attribute( AttrName (__foo) ) or Attribute( MetaAttr (__foo) )
    
    C's ast structure(current):
    foo => Attribute( foo )
    
    C's ast structure(proposed):
    foo => Attribute( AttrName(foo) )
    
    Signed-off-by: default avatarKeisuke Nishimura <mumumu0722@gmail.com>
    57cbff0c