message: Apply clang-format to dsl.hpp
diff: @@ -123,19 +123,13 @@ private:
  }
  template <size_t X, class T, class... Ts>
  - typename std::enable_if<
  - caf::meta::is_annotation<T>::value,
  - bool
  - >::type
  + typename std::enable_if<caf::meta::is_annotation<T>::value, bool>::type
  iterate(pos<X> pos, const T&, const Ts&... ys) {
  return iterate(pos, ys...);
  }
  template <size_t X, class T, class... Ts>
  - typename std::enable_if<
  - !caf::meta::is_annotation<T>::value,
  - bool
  - >::type
  + typename std::enable_if<!caf::meta::is_annotation<T>::value, bool>::type
  iterate(pos<X>, const T& y, const Ts&... ys) {
  std::integral_constant<size_t, X + 1> next;
  check(y, get<X>(xs_));
  @@ -286,8 +280,8 @@ std::tuple<T, Ts...> extract(caf_handle x) {
  auto ptr = x->peek_at_next_mailbox_element();
  if (ptr == nullptr)
  CAF_FAIL("Mailbox is empty");
  - CAF_FAIL("Message does not match expected pattern: "
  - << to_string(ptr->content()));
  + CAF_FAIL(
  + "Message does not match expected pattern: " << to_string(ptr->content()));
  }
  return std::move(*result);
  }
  @@ -301,8 +295,7 @@ template <class... Ts>
  class expect_clause {
  public:
  expect_clause(caf::scheduler::test_coordinator& sched)
  - : sched_(sched),
  - dest_(nullptr) {
  + : sched_(sched), dest_(nullptr) {
  peek_ = [=] {
  /// The extractor will call CAF_FAIL on a type mismatch, essentially
  /// performing a type check when ignoring the result.
  @@ -504,8 +497,7 @@ template <class... Ts>
  class allow_clause {
  public:
  allow_clause(caf::scheduler::test_coordinator& sched)
  - : sched_(sched),
  - dest_(nullptr) {
  + : sched_(sched), dest_(nullptr) {
  peek_ = [=] {
  if (dest_ != nullptr)
  return try_extract<Ts...>(dest_) != caf::none;
  @@ -657,9 +649,10 @@ struct test_coordinator_fixture_fetch_helper {
  std::tuple<Ts...>
  operator()(caf::response_handle<Self, Interface, true>& from) const {
  std::tuple<Ts...> result;
  - from.receive(
  - [&](Ts&... xs) { result = std::make_tuple(std::move(xs)...); },
  - [&](caf::error& err) { FAIL(from.self()->system().render(err)); });
  + from.receive([&](Ts&... xs) { result = std::make_tuple(std::move(xs)...); },
  + [&](caf::error& err) {
  + FAIL(from.self()->system().render(err));
  + });
  return result;
  }
  };
  @@ -669,9 +662,10 @@ struct test_coordinator_fixture_fetch_helper<T> {
  template <class Self, class Interface>
  T operator()(caf::response_handle<Self, Interface, true>& from) const {
  T result;
  - from.receive(
  - [&](T& x) { result = std::move(x); },
  - [&](caf::error& err) { FAIL(from.self()->system().render(err)); });
  + from.receive([&](T& x) { result = std::move(x); },
  + [&](caf::error& err) {
  + FAIL(from.self()->system().render(err));
  + });
  return result;
  }
  };
  