Modified the register matcher function in AsmMatcher to
be static.  Also made it possible for clients to get it
and no other functions from ...GenAsmMatcher.inc by
defining REGISTERS_ONLY before including GenAsmMatcher.inc.
This sets the stage for target-specific lexers that can
identify registers and return AsmToken::Register as
appropriate.

llvm-svn: 94266
2 files changed
tree: 8f7c0c9a36149f0b2e849d6c3350dc7fd39485ce
  1. clang/
  2. compiler-rt/
  3. llvm/