diff options
| author | Matt Beaumont-Gay <matthewbg@google.com> | 2011-02-22 20:00:16 +0000 |
|---|---|---|
| committer | Matt Beaumont-Gay <matthewbg@google.com> | 2011-02-22 20:00:16 +0000 |
| commit | 7a24210ebdcefc1446369ec98f4209a93353335e (patch) | |
| tree | a665d64cb034460b4d515b8e7375d9fbf0c284e9 /clang/lib/AST/ASTContext.cpp | |
| parent | 04ad35b53f6728b208830d07f9fb5d28a3f23545 (diff) | |
| download | bcm5719-llvm-7a24210ebdcefc1446369ec98f4209a93353335e.tar.gz bcm5719-llvm-7a24210ebdcefc1446369ec98f4209a93353335e.zip | |
Use an unused-except-in-Debug variable.
llvm-svn: 126240
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
| -rw-r--r-- | clang/lib/AST/ASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<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: |

