From 7a24210ebdcefc1446369ec98f4209a93353335e Mon Sep 17 00:00:00 2001 From: Matt Beaumont-Gay Date: Tue, 22 Feb 2011 20:00:16 +0000 Subject: Use an unused-except-in-Debug variable. llvm-svn: 126240 --- clang/lib/AST/ASTContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/AST/ASTContext.cpp') diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index df92d111929..6d0b6d7ce20 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -874,7 +874,7 @@ ASTContext::getTypeInfo(const Type *T) const { case Type::Auto: { const AutoType *A = cast(T); assert(A->isDeduced() && "Cannot request the size of a dependent type"); - return getTypeInfo(cast(T)->getDeducedType().getTypePtr()); + return getTypeInfo(A->getDeducedType().getTypePtr()); } case Type::Paren: -- cgit v1.2.3