254 Commits

Author SHA1 Message Date
Denis Blank
88aebb422b Improve the feature tests
* Also intend those manually and add ca clang-format (6.0)
  placeholder.
2018-02-06 02:22:00 +01:00
Denis Blank
a02e9bdf89 Enable the feature detection based on __cplusplus 2018-02-06 01:58:07 +01:00
Denis Blank
7e90187e50 Some minor improvements 2018-02-06 01:57:41 +01:00
Denis Blank
c8b4e1ddcd Improve the conditional usage of try catch 2018-02-06 00:54:11 +01:00
Denis Blank
752bee6ea4 Start to port the traversal unit tests 2018-02-06 00:44:51 +01:00
Denis Blank
a107a89991 Convert all invoke_result traits into decltype(...) 2018-02-06 00:18:06 +01:00
Denis Blank
d1e0c1d606 Move is_invokeable to traits and rename it to is_invokeable_from_tuple 2018-02-06 00:12:59 +01:00
Denis Blank
eafbe4b37d Add a C++17 std::disjunction polyfill 2018-02-05 23:47:51 +01:00
Denis Blank
6a8919c63d Add the public headers for both traversal strategies 2018-02-05 23:47:50 +01:00
Denis Blank
7d0e68ad9b Convert util::tuple* to std::tuple* 2018-02-05 23:47:49 +01:00
Denis Blank
cd2af2d49a Only check for wrongly finished async traversals in debug mode 2018-02-05 23:47:49 +01:00
Denis Blank
62823f8f56 More conversion work 2018-02-05 23:47:48 +01:00
Denis Blank
910af18f1e Rename the inclusion guards slightly 2018-02-05 23:47:45 +01:00
Denis Blank
0d3a88c4a1 Take my GSoC code for nested pack traversal over
* See https://naios.github.io/gsoc2017 for details
2018-02-05 23:47:07 +01:00
Denis Blank
17a4e8a8da Remove the continuable-api header 2018-02-02 00:24:38 +01:00
Denis Blank
9ce9884376 Rename the inclusion guards slightly 2018-02-01 22:49:42 +01:00
Denis Blank
49a1e837ac Remove the comparison 2018-02-01 22:48:06 +01:00
Denis Blank
4aaafb57fe Push the version to 2.0.0 2.0.0 2018-01-30 22:09:07 +01:00
Denis Blank
0657a191f6 Clearify promise and callback in the readme 2018-01-30 22:05:44 +01:00
Denis Blank
d3a1ef3005 Some missing readme modernization 2018-01-30 22:01:32 +01:00
Denis Blank
fa273a3eac Add coroutine (await) usage support to the readme 2018-01-30 21:58:17 +01:00
Denis Blank
4b317fb964 Some doxygen additions and improvements 2018-01-30 21:40:09 +01:00
Denis Blank
1daa13b1d6 Some minor improvements to clang-tidy 2018-01-30 05:15:19 +01:00
Denis Blank
1c2cb645ef Initial clang-tidy support 2018-01-30 04:07:42 +01:00
Denis Blank
c4a19efa55 Some const additions 2018-01-30 02:18:31 +01:00
Denis Blank
f35cc355e0 Fix an expression result unused warning 2018-01-30 01:58:53 +01:00
Denis Blank
fb4eb379ca More constexpr conversions 2018-01-30 01:57:41 +01:00
Denis Blank
933d773c4c Improve the constexprness 2018-01-30 01:09:32 +01:00
Denis Blank
24201d5106 Remove the GTest requirement from the amalgamation 2018-01-30 00:30:49 +01:00
Denis Blank
f4ee3ea0d1 Make continuable.hpp include all headers of the library
* Move the old continuable.hpp header into continuable-types.hpp
2018-01-30 00:14:47 +01:00
Denis Blank
7aae524cb1 Remove the alignment tests
* Don't fail the sanitizers when testing with coroutines
2018-01-29 07:45:38 +01:00
Denis Blank
c2ad28d702 More is aligned tests 2018-01-29 07:00:17 +01:00
Denis Blank
0f3ec412fe Move temporarily away from the travis-ci containerized builds
* See travis-ci/travis-ci#9033
2018-01-29 05:19:19 +01:00
Denis Blank
2deaf7a301 Update the ASan and UBSan flags 2018-01-29 04:45:37 +01:00
Denis Blank
8c8f7f98a1 Revert "Revert "Skip asan testing when using await""
* -> "fatal error: error in backend: cannot move instruction since its users are not dominated by CoroBegin"

This reverts commit eed883b0a5bdf8531943ad8afe182fa04e956a3b.
2018-01-29 02:16:24 +01:00
Denis Blank
19941e774b Set the asan verbosity to 1 2018-01-29 02:04:02 +01:00
Denis Blank
701a8ea1a4 Attemt to fix the alignment errors 2018-01-29 01:03:44 +01:00
Denis Blank
eed883b0a5 Revert "Skip asan testing when using await"
This reverts commit 66b662e2a4e949e015c514ce15864f68c4fd98c3.
2018-01-29 00:36:49 +01:00
Denis Blank
9c4b0a3a17 Fix the memory leak tested in 5751152733 2018-01-29 00:33:53 +01:00
Denis Blank
032fc436b9 Fix an unused variable error 2018-01-29 00:20:38 +01:00
Denis Blank
5751152733 Add a memory leak regression test (detected by LSan) 2018-01-28 23:10:39 +01:00
Denis Blank
f976591e94 Remove an unused header 2018-01-28 22:40:07 +01:00
Denis Blank
4c76a11f45 Fix a coroutine MSVC/Clang incompatibility 2018-01-28 22:39:53 +01:00
Denis Blank
3a50657a17 Some test ai examples 2018-01-25 08:13:43 +01:00
Denis Blank
6c209c876a Allows fail to accept plain continuables 2018-01-25 08:11:05 +01:00
Denis Blank
66b662e2a4 Skip asan testing when using await 2018-01-25 06:15:17 +01:00
Denis Blank
444a38f56f Some improvements to the CI script 2018-01-25 05:52:14 +01:00
Denis Blank
5de5de5828 Attempt to fix the current travis issues by using an own shell script 2018-01-25 05:42:47 +01:00
Denis Blank
6e404b6eaa Apply outer and inner size improvements for the callable wrapper
* This will decrease the needed allocations heavily,
  since we don't have to allocate twice if a continuation is type erased
  since the outer type erasure may contain the inner one with zero costs.
2018-01-25 05:00:19 +01:00
Denis Blank
5d6b6116bf Travis test 2018-01-25 04:50:33 +01:00