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)
commit8ab90d412ece2d6f995ff0233bdfb213f4fcaf56
treeb535bcdc46634a9dd05393df2b183ea26b65c14b
parent7ef23e62b2d97fec90de6ecf1a5dc609c4921f75
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.

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