AsmParser: Use StringRef for keyword comparisons, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 21 Feb 2015 00:18:40 +0000 (00:18 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 21 Feb 2015 00:18:40 +0000 (00:18 +0000)
commit5f989abcd447bfa843dfb217dcf087f7e9d8d008
tree261f2619984688e9bdf6963ad559fe3cbf3c3860
parent6572faa1ebec3b6f25eda4e8fd07d5f224e2a0af
AsmParser: Use StringRef for keyword comparisons, NFC

Leverage `StringRef` inside keyword comparison macros.  There's no
reason to be so low-level here, and I'm about to add another
`startswith()` use, so let's make it easy to read.

llvm-svn: 230100
llvm/lib/AsmParser/LLLexer.cpp