Skip to content

Tags: hsutter/cppfront

Tags

v0.8.1

Toggle v0.8.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Updates for missing features in regular expressions. (#1337) * Added handling of \G. * Added find_all method to regular expressions. * Implementation of reverse token generation. * Implementation of lookbehind parsing. * Hack for reverse matching. * Removed Iter from wrapper and added it to the generated functions. * Removed `wrap` helper. * Implementation of advanced regexes. * Added implementation for nested lookaround. * Update for regex status. * Added atomic grouping token. * Code cleanup. * Update of Regression tests. * Header update for new version. * Updates for clang. * Update for tests.

v0.8.0

Toggle v0.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
CI Update tests - make all tests pass (#1324) * CI Update regression tests * CI Include UFCS test compilation failures * CI Revert UFCS test restore for further investigation * CI update mixed-bugfix-for-ufcs-non-local.cpp2 results

v0.7.4

Toggle v0.7.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix default argument lowering (#1262) There should now be enough test cases to exercise all the places you can put default arguments Also, only emit Cpp1 lambdas as 'mutable' if there are captures (when it matters) so that pure function expressions are not 'mutable' Closes #1235 Signed-off-by: Herb Sutter <herb.sutter@gmail.com>

v0.7.3

Toggle v0.7.3's commit message
Allow function parameter default arguments Closes #1189 I had been experimenting with not allowing default arguments for function parameters, in part because of the potential for creating order-dependent code; the way to find out whether they're necessary is to not support them and see if that leaves a usability hole. The result of the experiment is that it does leave a hole: There's persistent feedback that default arguments are often useful, and are actually necessary for a few cases including particularly `std::source_location` parameters. As for order independence, there are already ways to opt into creating potentially order-dependent code (such as by deduced return types which depend on function bodies). So I think it's time to enable default arguments, and Cpp2 is still order-independent by default. This example now works: my_function_name: ( fn: *const char = std::source_location::current().function_name() ) = { std::cout << "calling: (fn)$\n"; } main: (args) = { my_function_name(); } // On MSVC 2022, prints: // calling: int __cdecl main(const int,char **) // On GCC 14, prints: // calling: int main(int, char**)

v0.7.2

Toggle v0.7.2's commit message
Update version to 0.7.2 

v0.7.1

Toggle v0.7.1's commit message
Add support for concatenating string literals with/without interpolat… …ions And test by applying throughout `reflect.h2` => we don't need a separate regression test case for the feature, `reflect.h2` exercises it well

v0.7.0

Toggle v0.7.0's commit message
Merge branch 'main' of https://github.com/hsutter/cppfront