This is an archive of the discontinued LLVM Phabricator instance.

[Clang-tidy] Fix for misc-noexcept-move-constructor false triggers on defaulted declarations
ClosedPublic

Authored by edyp87 on Mar 16 2017, 12:50 PM.

Details

Summary

There is no need for triggering warning when noexcept specifier in move constructor or move-assignment operator is neither evaluated nor uninstantiated.

This fixes bug reported here: bugs.llvm.org/show_bug.cgi?id=24712

Diff Detail

Repository
rL LLVM

Event Timeline

edyp87 created this revision.Mar 16 2017, 12:50 PM
This revision is now accepted and ready to land.Mar 17 2017, 6:06 AM

Do you have commit rights?

No, please apply this patch for me. Thank you!

This revision was automatically updated to reflect the committed changes.