From: Chris Lattner Date: Tue, 20 Apr 2010 17:13:14 +0000 (+0000) Subject: remove some extraneous qualifiers. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4992bdde387c5f033bb450a716eaabc0fda52688;p=clang remove some extraneous qualifiers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101912 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp index c9aff6408f..a80d50a507 100644 --- a/lib/AST/ExprConstant.cpp +++ b/lib/AST/ExprConstant.cpp @@ -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()->getPointeeType(); + QualType Type = E->getLHS()->getType(); + QualType ElementType = Type->getAs()->getPointeeType(); CharUnits ElementSize = CharUnits::One(); if (!ElementType->isVoidType() && !ElementType->isFunctionType())