Fix "pointer is null" static analyzer warning. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 14 Jan 2020 13:54:39 +0000 (13:54 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 14 Jan 2020 14:00:38 +0000 (14:00 +0000)
commit1d6b964ed1f7a77b178e86bef7d569611f2c0983
tree7bea6dfceab014144f11cd2d70f0b640434f9c8d
parent591cd40584300a1d5d33bfaefa4698c02ef56887
Fix "pointer is null" static analyzer warning. NFCI.

Remove Ctx null test as clang static analyzer assumes that this can fail - replace it with an assertion as the pointer is always dereferenced below.
clang/lib/Sema/SemaTemplate.cpp