]> granicus.if.org Git - clang/commit
- Use Tok.isObjCAtKeyword instead of Tok.getIdentifierInfo()->getObjCKeywordID().
authorChris Lattner <sabre@nondot.org>
Thu, 27 Dec 2007 19:57:00 +0000 (19:57 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 27 Dec 2007 19:57:00 +0000 (19:57 +0000)
commitcb53b361bce341c8591333c6997f62e480acc0b4
tree8104eda3fa8e7f8364dbd0acc39d2724361c015e
parentb5ce097bb741733e24efd7803f29849be227f8ce
 - Use Tok.isObjCAtKeyword instead of Tok.getIdentifierInfo()->getObjCKeywordID().
   The later fails if the token is not an identifier.
 - Replace tabs with spaces.
 - Various other cleanups.

Patch by Nico Weber!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45368 91177308-0d34-0410-b5e6-96231b3b80d8
Parse/ParseObjc.cpp
Parse/Parser.cpp
test/Parser/objc-try-catch-1.m