This PR changes how a new header file is written if the user sets the no_closing_brace property to true. The new file will no longer have a // clang_format on line within the comment block, placing it after the block instead. In addition, a default }; will be added at the end of the file.
Closes #1201
Note that this PR has no impact on existing generated code, other than allowing the user to move the // clang_format on line so that it is no longer within the comment block. Theoretically, we could write a special case to look for the old style, but I doubt there are enough people using this feature to make it worthwhile.
This PR changes how a new header file is written if the user sets the no_closing_brace property to true. The new file will no longer have a
// clang_format on
line within the comment block, placing it after the block instead. In addition, a default};
will be added at the end of the file.Closes #1201
Note that this PR has no impact on existing generated code, other than allowing the user to move the
// clang_format on
line so that it is no longer within the comment block. Theoretically, we could write a special case to look for the old style, but I doubt there are enough people using this feature to make it worthwhile.