Don't try to dump invalid decls or forward decls.

llvm-svn: 82827
This commit is contained in:
Anders Carlsson 2009-09-26 01:02:04 +00:00
parent 9d1b34ba81
commit 294616a74c
1 changed files with 6 additions and 0 deletions

View File

@ -543,6 +543,12 @@ public:
if (RD->isDependentType())
continue;
if (RD->isInvalidDecl())
continue;
if (!RD->getDefinition(C))
continue;
// FIXME: Do we really need to hard code this?
if (RD->getQualifiedNameAsString() == "__va_list_tag")
continue;