remove some extraneous qualifiers.

llvm-svn: 101912
This commit is contained in:
Chris Lattner 2010-04-20 17:13:14 +00:00
parent 6a0227df49
commit 882bdf2a8d
1 changed files with 2 additions and 2 deletions

View File

@ -1198,8 +1198,8 @@ bool IntExprEvaluator::VisitBinaryOperator(const BinaryOperator *E) {
}
if (E->getOpcode() == BinaryOperator::Sub) {
const QualType Type = E->getLHS()->getType();
const QualType ElementType = Type->getAs<PointerType>()->getPointeeType();
QualType Type = E->getLHS()->getType();
QualType ElementType = Type->getAs<PointerType>()->getPointeeType();
CharUnits ElementSize = CharUnits::One();
if (!ElementType->isVoidType() && !ElementType->isFunctionType())