[clang-tidy] Fix false positve for defaulted move constructor in...
[clang-tidy] Fix false positve for defaulted move constructor in performance-noexcept-move-constructor Previously a struct like this: template <typename> struct A { A(A&&) = default; }; Would trigger a false positive, since even though it is not marked as noexcept it still is due to the `= default`. Now we only give a warning if the defaulted move constructor is actually declared as throwing and correctly resolve it if they are defaulted. This fixes llvm#56026, llvm#41414, llvm#38081 Reviewed By: PiotrZSL Differential Revision: https://reviews.llvm.org/D146922
Loading
Please sign in to comment