commit | 8ab90d412ece2d6f995ff0233bdfb213f4fcaf56 | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Feb 21 00:18:40 2015 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Feb 21 00:18:40 2015 +0000 |
tree | b535bcdc46634a9dd05393df2b183ea26b65c14b | |
parent | 7ef23e62b2d97fec90de6ecf1a5dc609c4921f75 [diff] |
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