Skip to content

v0.0.2

Choose a tag to compare

@PathogenDavid PathogenDavid released this 06 Dec 17:26
· 6 commits to main since this release
abc6e18

ClangSharp.Pathogen v0.0.2 Sponsor

This release adds additional data to PathogenMacroInformation:

  • IsUsedForHeaderGuard – Whether the macro was used as a header guard (according to Clang's heuristics.)
  • TokenCount – The number of replacement tokens associated with the macro's value. (Really only useful for checking if a macro has a value or not.)
  • RawValueSourceString – The value of the macro as C++ source. This is not exactly the same as written in source since whitespace is discard by Clang by the time we read it. For example, #define TEST ( 3226 ) has a RawValueSourceString of (3226)