Skip to content

Commit

Permalink
Add deprecated checks for Boost.Atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
K-ballo committed Jul 24, 2017
1 parent a3d53c8 commit d0613ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/inspect/deprecated_include_check.cpp
Expand Up @@ -43,6 +43,7 @@ namespace boost
{ "hpx/hpx_fwd\\.hpp", "nothing (remove unconditionally)" },
{ "boost/preprocessor/cat\\.hpp", "hpx/util/detail/pp/cat.hpp" },
{ "boost/preprocessor/stringize\\.hpp", "hpx/util/detail/pp/stringize.hpp" },
{ "boost/atomic\\.hpp", "atomic" },
{ nullptr, nullptr }
};

Expand Down
4 changes: 4 additions & 0 deletions tools/inspect/deprecated_name_check.cpp
Expand Up @@ -81,6 +81,10 @@ namespace boost
{ "(\\bboost\\s*::\\s*enable_error_info\\b)", "hpx::throw_with_info" },
{ "(\\bboost\\s*::\\s*iterator_range\\b)", "hpx::util::iterator_range" },
{ "(\\bboost\\s*::\\s*make_iterator_range\\b)", "hpx::util::make_iterator_range" },
{ "(\\bboost\\s*::\\s*atomic_flag\\b)", "std::atomic_flag" },
{ "(\\bboost\\s*::\\s*atomic\\b)", "std::atomic" },
{ "(\\bboost\\s*::\\s*memory_order_((relaxed)|(acquire)|(release)|"
"(acq_rel)|(seq_cst))\\b)", "std::\\2" },
/////////////////////////////////////////////////////////////////////////
{ "((\\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 d0613ef

Please sign in to comment.