[cfe-commits] r126240 - /cfe/trunk/lib/AST/ASTContext.cpp
Matt Beaumont-Gay
matthewbg at google.com
Tue Feb 22 12:00:17 PST 2011
Author: matthewbg
Date: Tue Feb 22 14:00:16 2011
New Revision: 126240
URL: http://llvm.org/viewvc/llvm-project?rev=126240&view=rev
Log:
Use an unused-except-in-Debug variable.
Modified:
cfe/trunk/lib/AST/ASTContext.cpp
Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=126240&r1=126239&r2=126240&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Tue Feb 22 14:00:16 2011
@@ -874,7 +874,7 @@
case Type::Auto: {
const AutoType *A = cast<AutoType>(T);
assert(A->isDeduced() && "Cannot request the size of a dependent type");
- return getTypeInfo(cast<AutoType>(T)->getDeducedType().getTypePtr());
+ return getTypeInfo(A->getDeducedType().getTypePtr());
}
case Type::Paren:
More information about the cfe-commits
mailing list