Had the wrong type for ArgType. :-( Fixed.

llvm-svn: 116893
This commit is contained in:
Craig Silverstein 2010-10-20 00:56:01 +00:00
parent b15bfc753c
commit 3b9936f0b7
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ QualType CXXDeleteExpr::getDestroyedType() const {
break;
}
// The type-to-delete may not be a pointer if it's a dependent type.
const Type *ArgType = Arg->getType();
const QualType ArgType = Arg->getType();
if (ArgType->isDependentType())
return ArgType;