[cfe-commits] r139080 - /cfe/trunk/lib/Sema/SemaExpr.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sat Sep 3 01:46:20 PDT 2011
Author: d0k
Date: Sat Sep 3 03:46:20 2011
New Revision: 139080
URL: http://llvm.org/viewvc/llvm-project?rev=139080&view=rev
Log:
More unused variable removal.
Modified:
cfe/trunk/lib/Sema/SemaExpr.cpp
Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=139080&r1=139079&r2=139080&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Sat Sep 3 03:46:20 2011
@@ -6312,11 +6312,9 @@
QualType lType = lex.get()->getType();
QualType rType = rex.get()->getType();
-
+
Expr *LHSStripped = lex.get()->IgnoreParenImpCasts();
Expr *RHSStripped = rex.get()->IgnoreParenImpCasts();
- QualType LHSStrippedType = LHSStripped->getType();
- QualType RHSStrippedType = RHSStripped->getType();
checkEnumComparison(*this, Loc, lex, rex);
More information about the cfe-commits
mailing list