229 Commits

Author SHA1 Message Date
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
Denis Blank
2a1949a5b0 Next attempt 2018-01-25 04:14:44 +01:00
Denis Blank
9ee5e38fef Allow the coroutine build to fail 2018-01-25 03:56:52 +01:00
Denis Blank
81f023ba36 Since we are building with libc++ we don't need to install gcc on such builds 2018-01-25 03:56:38 +01:00
Denis Blank
e011ec7071 Attempt to fix travis failures 2018-01-25 03:48:17 +01:00
Denis Blank
9286cfa8cc Feature detection placeholders 2018-01-24 23:05:23 +01:00
Denis Blank
ca5d0a6e29 Some misc changes 2018-01-24 03:05:59 +01:00
Denis Blank
0cfb8a96d2 Prevent unused param warnings 2018-01-24 02:35:54 +01:00
Denis Blank
c81d45c7ea Convert some hardcoded flags to expressions
* Remove the continuable-coroutines interface target
2018-01-24 02:07:11 +01:00
Denis Blank
356e99dba7 Abort ASAN on errors 2018-01-24 02:03:13 +01:00
Denis Blank
b17d2f9c17 Fix a GCC warning:
```cpp
  ../include/continuable/detail/expected.hpp:344:44: error: declaration of ‘using expected = class cti::detail::util::expected<cti::detail::util::detail::void_guard_tag>’ [-fpermissive]
     using expected = expected<void_guard_tag>;
                                              ^
  ../include/continuable/detail/expected.hpp:171:7: error: changes meaning of ‘expected’ from ‘class cti::detail::util::expected<cti::detail::util::detail::void_guard_tag>’ [-fpermissive]
   class expected
  ```
2018-01-24 01:44:30 +01:00
Denis Blank
db8c5b07c9 More work on the await clang build 2018-01-24 01:33:05 +01:00
Denis Blank
b5853c117a Update gtest 2018-01-24 01:18:19 +01:00
Denis Blank
a432c14c57 Update function2 2018-01-24 01:18:11 +01:00
Denis Blank
810d778b2e Attemtp to fix coroutines on clang 2018-01-24 01:13:03 +01:00
Denis Blank
45cd47806b One more missing include 2018-01-24 01:08:18 +01:00
Denis Blank
9b0ad832ff Add a missing include 2018-01-24 01:06:19 +01:00
Denis Blank
efbce1f886 Mark continuation invocations as non exceptional 2018-01-23 19:40:55 +01:00
Denis Blank
ea6b76a044 Some namespace corrections 2018-01-15 05:55:32 +01:00
Denis Blank
cb225835d6 Preparation for making expected available inside the base namespace 2018-01-14 04:26:32 +01:00
Denis Blank
55a59fb7f7 Attempt to fix a gcc warning 2018-01-14 00:18:20 +01:00
Denis Blank
b502ad61be Next attempt 2018-01-04 01:53:45 +01:00
Denis Blank
3626133f8e Happy new Year!
* Update license notices to 2018
2018-01-04 01:45:09 +01:00
Denis Blank
95aadd9273 Attempt to fix the clang travis build 2018-01-04 01:43:03 +01:00
Denis Blank
04613cb005 Use libc++ second try 2017-12-30 05:06:43 +01:00
Denis Blank
140627cfd2 Fix clang and GCC build errors 2017-12-30 03:37:56 +01:00