[cfe-commits] r152170 - /cfe/trunk/lib/Parse/ParseObjc.cpp
Benjamin Kramer
benny.kra at googlemail.com
Tue Mar 6 16:14:41 PST 2012
Author: d0k
Date: Tue Mar 6 18:14:40 2012
New Revision: 152170
URL: http://llvm.org/viewvc/llvm-project?rev=152170&view=rev
Log:
Silence unused variable warnings.
Modified:
cfe/trunk/lib/Parse/ParseObjc.cpp
Modified: cfe/trunk/lib/Parse/ParseObjc.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseObjc.cpp?rev=152170&r1=152169&r2=152170&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseObjc.cpp (original)
+++ cfe/trunk/lib/Parse/ParseObjc.cpp Tue Mar 6 18:14:40 2012
@@ -2030,7 +2030,7 @@
if (Lit.isInvalid()) {
return move(Lit);
}
- SourceLocation EndLoc = ConsumeToken(); // consume the literal token.
+ ConsumeToken(); // Consume the literal token.
Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.take());
if (Lit.isInvalid())
@@ -2563,7 +2563,7 @@
if (Lit.isInvalid()) {
return move(Lit);
}
- SourceLocation EndLoc = ConsumeToken(); // consume the literal token.
+ ConsumeToken(); // Consume the literal token.
return Owned(Actions.BuildObjCNumericLiteral(AtLoc, Lit.take()));
}
@@ -2577,7 +2577,7 @@
if (Lit.isInvalid()) {
return move(Lit);
}
- SourceLocation EndLoc = ConsumeToken(); // consume the literal token.
+ ConsumeToken(); // Consume the literal token.
return Owned(Actions.BuildObjCNumericLiteral(AtLoc, Lit.take()));
}
More information about the cfe-commits
mailing list