[clang] Fix a crash when CTAD fails
authorKadir Cetinkaya <kadircet@google.com>
Tue, 23 Mar 2021 05:58:11 +0000 (06:58 +0100)
committerKadir Cetinkaya <kadircet@google.com>
Tue, 23 Mar 2021 12:03:30 +0000 (13:03 +0100)
commit8f80c66bd2982788a8eede4419684ca72f48b9a2
treebd54d3dce3aa5f3cadb076f7f14a30bdf6941ebf
parent003fab9e8d9bbc3cde67bcacf4aa20001af7e744
[clang] Fix a crash when CTAD fails

Differential Revision: https://reviews.llvm.org/D99145
clang/lib/Sema/SemaChecking.cpp
clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp