mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
PTMLCBuilder: introduce a code tag annotation
This commit is contained in:
@@ -328,6 +328,9 @@ static void printDefinition(Logger<> &Log,
|
||||
<< B.getKeyword(ptml::PTMLCBuilder::Keyword::Struct) << " "
|
||||
<< B.getPackedAttribute() << " ";
|
||||
|
||||
if (S.CanContainCode())
|
||||
Header << B.getCanContainCodeAttribute() << " ";
|
||||
|
||||
if (ForEditing)
|
||||
Header << B.getSizeAnnotation(S.Size()) << " ";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user