OSDN Git Service

MCAsmParser: change representation of MCAsmMacroParameter
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 19 Feb 2014 03:00:23 +0000 (03:00 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 19 Feb 2014 03:00:23 +0000 (03:00 +0000)
commit5bbd4d2bd4749894ed7c53bbfd040532f98c37df
tree3a3e7aa792ab41e39318c5d8612001f6ef171147
parent070b5745aef302b3d391840eb323ad6a3c5aa9e6
MCAsmParser: change representation of MCAsmMacroParameter

Rather than using std::pair, create a structure to represent the type.  This is
a preliminary refactoring to enable required parameter handling.  Additional
state is needed to indicate required parameters.  This has a minor side effect
of improving readability by providing more accurate names compared to first and
second.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201629 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp