Skip to content

v2.1.0

Compare
Choose a tag to compare
@jsoysouvanh jsoysouvanh released this 20 Nov 16:01
· 16 commits to master since this release

Update

  • Deprecate ParsingSettings::shouldParseAllEntities. Instead, the flag has been split into 9 different flags (1 for each type of entity) for better granularity, as requested by #2 for namespaces. With that change, it is also possible to control whether enum values should all be parsed or not. The new flags are available from both C++ and the TOML settings file:
    • shouldParseAllNamespaces
    • shouldParseAllClasses
    • shouldParseAllStructs
    • shouldParseAllVariables
    • shouldParseAllFields
    • shouldParseAllFunctions
    • shouldParseAllMethods
    • shouldParseAllEnums
    • shouldParseAllEnumValues

Fix

  • Crash when the CodeGenManager was run with a CodeGenUnit with no registered code generation module.
  • [Macro extension] Invalid file footer macro generation when the source filename had specific characters such as dashes, spaces or dots. All generated macros are now sanitized in the base implementation and invalid characters are replaced by underscores. The macro generation methods are still virtual and can be overriden for more specific behaviours.