Skip to content

Commit

Permalink
Add inspect check for deprecated boost::iterator_range
Browse files Browse the repository at this point in the history
  • Loading branch information
K-ballo committed Jul 7, 2017
1 parent e6d14d9 commit bfed508
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/inspect/deprecated_include_check.cpp
Expand Up @@ -39,6 +39,7 @@ namespace boost
{ "boost/cstdint\\.hpp", "cstdint" },
{ "boost/thread/barrier\\.hpp", "hpx/compat/barrier.hpp" },
{ "boost/exception_ptr\\.hpp", "exception" },
{ "boost/range/iterator_range\\.hpp", "hpx/util/iterator_range.hpp" },
{ "hpx/hpx_fwd\\.hpp", "nothing (remove unconditionally)" },
{ nullptr, nullptr }
};
Expand Down
2 changes: 2 additions & 0 deletions tools/inspect/deprecated_name_check.cpp
Expand Up @@ -78,6 +78,8 @@ namespace boost
{ "(\\bboost\\s*::\\s*copy_exception\\b)", "std::make_exception_ptr" },
{ "(\\bboost\\s*::\\s*current_exception\\b)", "std::current_exception" },
{ "(\\bboost\\s*::\\s*rethrow_exception\\b)", "std::rethrow_exception" },
{ "(\\bboost\\s*::\\s*iterator_range\\b)", "hpx::util::iterator_range" },
{ "(\\bboost\\s*::\\s*make_iterator_range\\b)", "hpx::util::make_iterator_range" },
/////////////////////////////////////////////////////////////////////////
{ "((\\bhpx::\\b)?\\btraits\\s*::\\bis_callable\\b)", "\\2traits::is_invocable[_r]" },
{ "((\\bhpx::\\b)?\\butil\\s*::\\bresult_of\\b)", "\\2util::invoke_result" },
Expand Down

0 comments on commit bfed508

Please sign in to comment.