[clang-tidy] Fix crash in modernize-use-noexcept on uninstantiated throw class
authorZinovy Nis <zinovy.nis@gmail.com>
Mon, 14 Sep 2020 19:08:00 +0000 (22:08 +0300)
committerZinovy Nis <zinovy.nis@gmail.com>
Wed, 16 Sep 2020 05:13:00 +0000 (08:13 +0300)
commit96c6d012dfe2492891d0f0450dd7cd5f3c1ca88c
tree0abc8ba64326a810dbff84b401519f611d767e8e
parent8a04cdb510c89b8c6419d6ce1e98967d7ac9abb2
[clang-tidy] Fix crash in modernize-use-noexcept on uninstantiated throw class

Bug: https://bugs.llvm.org/show_bug.cgi?id=47446

Differential Revision: https://reviews.llvm.org/D87627
clang-tools-extra/clang-tidy/modernize/UseNoexceptCheck.cpp
clang-tools-extra/test/clang-tidy/checkers/modernize-use-noexcept-opt.cpp