diff --git a/atdna/main.cpp b/atdna/main.cpp index 11520a0..769643c 100644 --- a/atdna/main.cpp +++ b/atdna/main.cpp @@ -2268,7 +2268,7 @@ public: if (!EmitIncludes && !context.getSourceManager().isInMainFile(decl->getLocation())) return true; - if (decl->isInvalidDecl() || !decl->hasDefinition()) + if (decl->isInvalidDecl() || !decl->hasDefinition() || !decl->isCompleteDefinition()) return true; if (!decl->getNumBases())