File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,9 @@ AST_MATCHER(CXXRecordDecl, correctHandleCaptureThisLambda) {
64
64
65
65
constexpr const char *DefaultFunctionWrapperTypes =
66
66
" ::std::function;::std::move_only_function;::boost::function" ;
67
- constexpr const char *DefaultBindFunctions = " ::std::bind;::boost::bind" ;
67
+ constexpr const char *DefaultBindFunctions =
68
+ " ::std::bind;::boost::bind;::std::bind_front;::std::bind_back;"
69
+ " ::boost::compat::bind_front;::boost::compat::bind_back" ;
68
70
69
71
CapturingThisInMemberVariableCheck::CapturingThisInMemberVariableCheck (
70
72
StringRef Name, ClangTidyContext *Context)
Original file line number Diff line number Diff line change @@ -44,4 +44,6 @@ Options
44
44
.. option :: BindFunctions
45
45
46
46
A semicolon-separated list of fully qualified names of functions that can
47
- capture ``this `` pointer. Default is `::std::bind;::boost::bind `.
47
+ capture ``this `` pointer.
48
+ Default is `::std::bind;::boost::bind;::std::bind_front;::std::bind_back;
49
+ ::boost::compat::bind_front;::boost::compat::bind_back `.
You can’t perform that action at this time.
0 commit comments