[clang-tidy] Allow explicit throwing in bugprone-exception-escape for special functions
Functions declared explicitly with noexcept(false) or throw(exception) will be excluded from the analysis, as even though it is not recommended for functions like swap, main, move constructors and assignment operators, and destructors, it is a clear indication of the developer's intention and should be respected. Fixes: #40583, #55143 Reviewed By: carlosgalvezp Differential Revision: https://reviews.llvm.org/D153423
Loading
Please sign in to comment