forked from OSchip/llvm-project
Don't try to dump invalid decls or forward decls.
llvm-svn: 82827
This commit is contained in:
parent
9d1b34ba81
commit
294616a74c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue