mbox series

[00/10] separate parsing of asm-names from attributes

Message ID 20200809205329.42811-1-luc.vanoostenryck@gmail.com (mailing list archive)
Headers show
Series separate parsing of asm-names from attributes | expand

Message

Luc Van Oostenryck Aug. 9, 2020, 8:53 p.m. UTC
This series separate the parsing of asm-names from the parsing
of attributes. In itself this has not much value but this series
is part of a larger super-series aiming at rationalizing the
handling of attributes and modifiers.

Luc Van Oostenryck (10):
  use lookup_keyword() for qualifiers
  attribute: split handle_asm_name() from handle_attributes()
  attribute: fold parse_asm_declarator() into handle_asm_name()
  attribute: remove argument 'keywords' from handle_attributes()
  attribute: directly use attribute_specifier() to handle attributes
  attribute: factorize matching of '__attribute__'
  attribute: no need to lookup '__attribute__' in NS_KEYWORD
  testing for SYM_KEYWORD is unneeded for lookup_keyword()
  testing for sym->op is unneeded for lookup_keyword()
  keyword type is a bitmask and must be tested so

 parse.c | 103 +++++++++++++++++++++++++++++---------------------------
 1 file changed, 54 insertions(+), 49 deletions(-)


base-commit: ab77399f33b800f0a1568e512e86df71dd70f566