mirror of https://github.com/libAthena/athena.git
Proper nested forward-declaration support for DNA types
This commit is contained in:
parent
8b2f1a8591
commit
d2fb800b92
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue