Skip to content

Commit

Permalink
Added inspect checks for enable_if, type_traits and mpl
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Heller committed Jul 21, 2016
1 parent c6bfdb2 commit 7dbe4ed
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hpx/runtime/serialization/variant.hpp
Expand Up @@ -6,6 +6,8 @@
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

// make inspect happy: hpxinspect:nodeprecatedinclude hpxinspect:nodeprecatedname

#ifndef HPX_SERIALIZATION_VARIANT_HPP
#define HPX_SERIALIZATION_VARIANT_HPP

Expand Down
3 changes: 3 additions & 0 deletions hpx/runtime/threads/detail/partlit.hpp
Expand Up @@ -6,6 +6,9 @@
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==============================================================================*/

// make inspect happy: hpxinspect:nodeprecatedinclude hpxinspect:nodeprecatedname

#if !defined(HPX_RUNTIME_THREADS_DETAIL_PARTLIT_FEB_02_2013_0845PM)
#define HPX_RUNTIME_THREADS_DETAIL_PARTLIT_FEB_02_2013_0845PM

Expand Down
2 changes: 2 additions & 0 deletions src/runtime/agas/request.cpp
Expand Up @@ -6,6 +6,8 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
////////////////////////////////////////////////////////////////////////////////

// make inspect happy: hpxinspect:nodeprecatedinclude hpxinspect:nodeprecatedname

#include <hpx/runtime/agas/request.hpp>

#include <hpx/error_code.hpp>
Expand Down
2 changes: 2 additions & 0 deletions src/runtime/agas/response.cpp
Expand Up @@ -6,6 +6,8 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
////////////////////////////////////////////////////////////////////////////////

// make inspect happy: hpxinspect:nodeprecatedinclude hpxinspect:nodeprecatedname

#include <hpx/runtime/agas/response.hpp>

#include <hpx/error_code.hpp>
Expand Down
1 change: 1 addition & 0 deletions tools/inspect/deprecated_include_check.cpp
Expand Up @@ -27,6 +27,7 @@ namespace boost
{ "boost/type_traits\\.hpp", "separate type-traits headers" },
{ "boost/unordered_map\\.hpp", "unordered_map" },
{ "boost/unordered_set\\.hpp", "unordered_set" },
{ "boost/utility/enable_if\\.hpp", "type_traits" },
{ "boost/detail/atomic_count\\.hpp", "hpx/util/atomic_count.hpp" },
{ "boost/function\\.hpp", "hpx/util/function.hpp" },
{ "hpx/hpx_fwd\\.hpp", "nothing (remove unconditionally)" },
Expand Down
9 changes: 9 additions & 0 deletions tools/inspect/deprecated_name_check.cpp
Expand Up @@ -30,6 +30,15 @@ namespace boost
{ "(\\bboost\\s*::\\s*noncopyable\\b)", "HPX_NON_COPYABLE" },
{ "(\\bboost\\s*::\\s*result_of\\b)", "std::result_of" },
{ "(\\bboost\\s*::\\s*decay\\b)", "std::decay" },
{ "(\\bboost\\s*::\\s*enable_if\\b)", "std::enable_if" },
{ "(\\bboost\\s*::\\s*disable_if\\b)", "std::enable_if" },
{ "(\\bboost\\s*::\\s*enable_if_c\\b)", "std::enable_if" },
{ "(\\bboost\\s*::\\s*disable_if_c\\b)", "std::enable_if" },
{ "(\\bboost\\s*::\\s*lazy_enable_if\\b)", "std::enable_if" },
{ "(\\bboost\\s*::\\s*lazy_disable_if\\b)", "std::enable_if" },
{ "(\\bboost\\s*::\\s*lazy_enable_if_c\\b)", "std::enable_if" },
{ "(\\bboost\\s*::\\s*lazy_disable_if_c\\b)", "std::enable_if" },
{ "(\\bboost\\s*::\\s*mpl\\b)", "no specific replacement" },
// { "(\\bboost\\s*::\\s*(is_[^\\s]*?\\b))", "std::\\2" },
{ "(\\bboost\\s*::\\s*lock_guard\\b)", "std::lock_guard" },
{ "(\\bboost\\s*::\\s*unordered_map\\b)", "std::unordered_map" },
Expand Down

0 comments on commit 7dbe4ed

Please sign in to comment.