Had the wrong type for ArgType. :-( Fixed.
llvm-svn: 116893
This commit is contained in:
parent
b15bfc753c
commit
3b9936f0b7
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue