summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2014-10-19 20:22:58 (GMT)
committerTobias Markmann <tm@ayena.de>2014-10-20 13:49:33 (GMT)
commit6b22dfcf59474dd016a0355a3102a1dd3692d92c (patch)
tree2b1fd33be433a91e81fee84fdc2bf1b52575d934 /3rdParty/Boost/src/boost/fusion/algorithm/query/detail
parent38b0cb785fea8eae5e48fae56440695fdfd10ee1 (diff)
downloadswift-6b22dfcf59474dd016a0355a3102a1dd3692d92c.zip
swift-6b22dfcf59474dd016a0355a3102a1dd3692d92c.tar.bz2
Update Boost in 3rdParty to version 1.56.0.
This updates Boost in our 3rdParty directory to version 1.56.0. Updated our update.sh script to stop on error. Changed error reporting in SwiftTools/CrashReporter.cpp to SWIFT_LOG due to missing include of <iostream> with newer Boost. Change-Id: I4b35c77de951333979a524097f35f5f83d325edc
Diffstat (limited to '3rdParty/Boost/src/boost/fusion/algorithm/query/detail')
-rw-r--r--3rdParty/Boost/src/boost/fusion/algorithm/query/detail/any.hpp10
-rw-r--r--3rdParty/Boost/src/boost/fusion/algorithm/query/detail/find_if.hpp8
-rw-r--r--3rdParty/Boost/src/boost/fusion/algorithm/query/detail/segmented_find.hpp5
3 files changed, 23 insertions, 0 deletions
diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/query/detail/any.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/query/detail/any.hpp
index 5f6b857..4e05368 100644
--- a/3rdParty/Boost/src/boost/fusion/algorithm/query/detail/any.hpp
+++ b/3rdParty/Boost/src/boost/fusion/algorithm/query/detail/any.hpp
@@ -9,6 +9,7 @@
#if !defined(FUSION_ANY_05052005_1229)
#define FUSION_ANY_05052005_1229
+#include <boost/fusion/support/config.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/fusion/sequence/intrinsic/begin.hpp>
#include <boost/fusion/sequence/intrinsic/end.hpp>
@@ -23,6 +24,7 @@ namespace boost { namespace fusion {
namespace detail
{
template <typename First, typename Last, typename F>
+ BOOST_FUSION_GPU_ENABLED
inline bool
linear_any(First const&, Last const&, F const&, mpl::true_)
{
@@ -30,6 +32,7 @@ namespace detail
}
template <typename First, typename Last, typename F>
+ BOOST_FUSION_GPU_ENABLED
inline bool
linear_any(First const& first, Last const& last, F& f, mpl::false_)
{
@@ -43,6 +46,7 @@ namespace detail
}
template <typename Sequence, typename F, typename Tag>
+ BOOST_FUSION_GPU_ENABLED
inline bool
any(Sequence const& seq, F f, Tag)
{
@@ -59,6 +63,7 @@ namespace detail
struct unrolled_any
{
template <typename It, typename F>
+ BOOST_FUSION_GPU_ENABLED
static bool call(It const& it, F f)
{
return
@@ -74,6 +79,7 @@ namespace detail
struct unrolled_any<3>
{
template <typename It, typename F>
+ BOOST_FUSION_GPU_ENABLED
static bool call(It const& it, F f)
{
return
@@ -87,6 +93,7 @@ namespace detail
struct unrolled_any<2>
{
template <typename It, typename F>
+ BOOST_FUSION_GPU_ENABLED
static bool call(It const& it, F f)
{
return
@@ -99,6 +106,7 @@ namespace detail
struct unrolled_any<1>
{
template <typename It, typename F>
+ BOOST_FUSION_GPU_ENABLED
static bool call(It const& it, F f)
{
return f(*it);
@@ -109,6 +117,7 @@ namespace detail
struct unrolled_any<0>
{
template <typename It, typename F>
+ BOOST_FUSION_GPU_ENABLED
static bool call(It const&, F)
{
return false;
@@ -116,6 +125,7 @@ namespace detail
};
template <typename Sequence, typename F>
+ BOOST_FUSION_GPU_ENABLED
inline bool
any(Sequence const& seq, F f, random_access_traversal_tag)
{
diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/query/detail/find_if.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/query/detail/find_if.hpp
index f7bae45..41baab4 100644
--- a/3rdParty/Boost/src/boost/fusion/algorithm/query/detail/find_if.hpp
+++ b/3rdParty/Boost/src/boost/fusion/algorithm/query/detail/find_if.hpp
@@ -9,6 +9,7 @@
#if !defined(FUSION_FIND_IF_05052005_1107)
#define FUSION_FIND_IF_05052005_1107
+#include <boost/fusion/support/config.hpp>
#include <boost/mpl/apply.hpp>
#include <boost/mpl/eval_if.hpp>
#include <boost/mpl/identity.hpp>
@@ -183,6 +184,7 @@ namespace detail
type;
template <typename Iterator>
+ BOOST_FUSION_GPU_ENABLED
static type
recursive_call(Iterator const& iter, mpl::true_)
{
@@ -190,6 +192,7 @@ namespace detail
}
template <typename Iterator>
+ BOOST_FUSION_GPU_ENABLED
static type
recursive_call(Iterator const& iter, mpl::false_)
{
@@ -197,6 +200,7 @@ namespace detail
}
template <typename Iterator>
+ BOOST_FUSION_GPU_ENABLED
static type
recursive_call(Iterator const& iter)
{
@@ -205,6 +209,7 @@ namespace detail
}
template <typename Iterator, typename Tag>
+ BOOST_FUSION_GPU_ENABLED
static type
choose_call(Iterator const& iter, Tag)
{
@@ -212,6 +217,7 @@ namespace detail
}
template <typename Iterator>
+ BOOST_FUSION_GPU_ENABLED
static type
choose_call(Iterator const& iter, random_access_traversal_tag)
{
@@ -220,6 +226,7 @@ namespace detail
}
template <typename Iterator>
+ BOOST_FUSION_GPU_ENABLED
static type
iter_call(Iterator const& iter)
{
@@ -227,6 +234,7 @@ namespace detail
}
template <typename Sequence>
+ BOOST_FUSION_GPU_ENABLED
static type
call(Sequence& seq)
{
diff --git a/3rdParty/Boost/src/boost/fusion/algorithm/query/detail/segmented_find.hpp b/3rdParty/Boost/src/boost/fusion/algorithm/query/detail/segmented_find.hpp
index ead5783..21c13a4 100644
--- a/3rdParty/Boost/src/boost/fusion/algorithm/query/detail/segmented_find.hpp
+++ b/3rdParty/Boost/src/boost/fusion/algorithm/query/detail/segmented_find.hpp
@@ -7,6 +7,7 @@
#if !defined(BOOST_FUSION_SEGMENTED_FIND_HPP_INCLUDED)
#define BOOST_FUSION_SEGMENTED_FIND_HPP_INCLUDED
+#include <boost/fusion/support/config.hpp>
#include <boost/mpl/eval_if.hpp>
#include <boost/mpl/identity.hpp>
#include <boost/fusion/algorithm/query/find_fwd.hpp>
@@ -44,16 +45,19 @@ namespace boost { namespace fusion { namespace detail
>::type
type;
+ BOOST_FUSION_GPU_ENABLED
static type call(Sequence& seq, State const&state, Context const& context, segmented_find_fun)
{
return call_impl(seq, state, context, continue_type());
}
+ BOOST_FUSION_GPU_ENABLED
static type call_impl(Sequence&, State const&state, Context const&, mpl::true_)
{
return state;
}
+ BOOST_FUSION_GPU_ENABLED
static type call_impl(Sequence& seq, State const&, Context const& context, mpl::false_)
{
return fusion::make_segmented_iterator(fusion::find<T>(seq), context);
@@ -74,6 +78,7 @@ namespace boost { namespace fusion { namespace detail
>::type
type;
+ BOOST_FUSION_GPU_ENABLED
static type call(Sequence& seq)
{
return fusion::segmented_fold_until(