Skip to content
Compare
Choose a tag to compare
@DNKpp DNKpp released this 15 Dec 19:09

Changes

  • Use clang-format instead of resharper code-style.
  • Make ExpectationBuilder more compiler-friendly.
  • Make is_overload_set-trait more efficient.

Additions

  • Support for call-conventions (like __stdcall on windows)
    • New MIMICPP_REGISTER_CALL_CONVENTION macro
  • New signature related traits and concepts:
    • signature_call_convention(_t)-trait
    • signature_remove_call_convention(_t)-trait
    • call_convention_traits-trait
    • signature_remove_ref_qualifier(_t)-trait
    • signature_remove_const_qualifier(_t)-trait
    • signature_const_qualification(_v)-trait
    • signature_ref_qualification(_v)-trait
    • signature_is_noexcept(_v)-trait
    • has_default_call_convention-concept
  • Added some 32bit configurations to the build-pipeline

Fixes

  • Apply correct width, when printing pointers in 32bit builds.
  • MIMICPP_MOCK_METHOD handles parenthesized return types correctly (see issue #75 )
  • MIMICPP_MOCK_METHOD correctly expands parameter-packs (see issue #76 )
  • MIMICPP_MOCK_METHOD respects the ref-ness of the mocked function (see issue #77 )

Full Changelog: v4...v5