mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
Drop isCandidateForInline
This commit is contained in:
@@ -1988,7 +1988,7 @@ void CCodeGenerator::emitFunction(bool NeedsLocalStateVar,
|
||||
// For all nested types within stack definition we print forward
|
||||
// declarations.
|
||||
for (auto *Type : TheStackTypes) {
|
||||
revng_assert(isCandidateForInline(Type));
|
||||
revng_assert(not declarationIsDefinition(Type));
|
||||
printForwardDeclaration(*Type, Out, B);
|
||||
}
|
||||
printDefinition(Log,
|
||||
|
||||
Reference in New Issue
Block a user