[cfe-commits] r44978 - /cfe/trunk/Parse/ParseObjc.cpp
Chris Lattner
sabre at nondot.org
Wed Dec 12 18:05:09 PST 2007
Author: lattner
Date: Wed Dec 12 20:05:09 2007
New Revision: 44978
URL: http://llvm.org/viewvc/llvm-project?rev=44978&view=rev
Log:
use new interface.
Modified:
cfe/trunk/Parse/ParseObjc.cpp
Modified: cfe/trunk/Parse/ParseObjc.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Parse/ParseObjc.cpp?rev=44978&r1=44977&r2=44978&view=diff
==============================================================================
--- cfe/trunk/Parse/ParseObjc.cpp (original)
+++ cfe/trunk/Parse/ParseObjc.cpp Wed Dec 12 20:05:09 2007
@@ -1282,7 +1282,7 @@
// Parse receiver
if (Tok.is(tok::identifier) &&
(Actions.isTypeName(*Tok.getIdentifierInfo(), CurScope)
- || !strcmp(Tok.getIdentifierInfo()->getName(), "super"))) {
+ || Tok.isNamedIdentifier("super"))) {
ReceiverName = Tok.getIdentifierInfo();
ConsumeToken();
} else {
More information about the cfe-commits
mailing list