diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-04-15 14:24:37 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-04-15 14:24:37 +0000 |
commit | dda56e4b4a9c274c5c4011981bd291523e75d747 (patch) | |
tree | cf196c641b7ddeaba8528f2509fc2242ebc7420f /clang/lib/AST/StmtIterator.cpp | |
parent | 030f499d2f9b2f17c22aad372cdf391e7db22a4f (diff) | |
download | bcm5719-llvm-dda56e4b4a9c274c5c4011981bd291523e75d747.tar.gz bcm5719-llvm-dda56e4b4a9c274c5c4011981bd291523e75d747.zip |
Support for C++11 (non-template) alias declarations.
llvm-svn: 129567
Diffstat (limited to 'clang/lib/AST/StmtIterator.cpp')
-rw-r--r-- | clang/lib/AST/StmtIterator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/StmtIterator.cpp b/clang/lib/AST/StmtIterator.cpp index 9a7265a043f..9bf4aeaae83 100644 --- a/clang/lib/AST/StmtIterator.cpp +++ b/clang/lib/AST/StmtIterator.cpp @@ -98,7 +98,7 @@ bool StmtIteratorBase::HandleDecl(Decl* D) { if (VD->getInit()) return true; } - else if (TypedefDecl* TD = dyn_cast<TypedefDecl>(D)) { + else if (TypedefNameDecl* TD = dyn_cast<TypedefNameDecl>(D)) { if (const VariableArrayType* VAPtr = FindVA(TD->getUnderlyingType().getTypePtr())) { setVAPtr(VAPtr); |