]> granicus.if.org Git - clang/commitdiff
Had the wrong type for ArgType. :-( Fixed.
authorCraig Silverstein <csilvers2000@yahoo.com>
Wed, 20 Oct 2010 00:56:01 +0000 (00:56 +0000)
committerCraig Silverstein <csilvers2000@yahoo.com>
Wed, 20 Oct 2010 00:56:01 +0000 (00:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116893 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ExprCXX.cpp

index 02a24dd27e06528c4af77d1e6c4771c974e1ba1e..49e7f99e0de141e8a6cef94e934e23c192b03248 100644 (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;