MCAsmParser: support required parameters

Press ? to show keyboard shortcuts.
Auditors
grosbach
H23 MC code reviews Triggered Audit
Committed
compnerdFeb 18 2014, 7:00 PM
Parents
rL201629: MCAsmParser: change representation of MCAsmMacroParameter
Branches
Unknown
Tags
Unknown
Subscribers
None
Description

MCAsmParser: support required parameters

This enhances the macro parser to parse and handle parameter qualifications,
which is needed to support required formal parameters in macro definitions. A
required parameter may not be defaulted (though providing a default value is
accepted with a warning). This improves GAS compatibility.

Partially addresses PR9248.

rL201630

llvm/trunk/lib/MC/MCParser/AsmParser.cpp

Loading...

llvm/trunk/test/MC/AsmParser/macro-qualifier-diagnostics.s

Loading...

llvm/trunk/test/MC/AsmParser/macro-qualifier.s

Loading...

Add Comment