[lldb] Fix another instance where we pass a nullptr as TypeSourceInfo to NonTypeTempl...
authorRaphael Isemann <teemperor@gmail.com>
Tue, 18 Feb 2020 12:25:08 +0000 (13:25 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Tue, 18 Feb 2020 12:25:31 +0000 (13:25 +0100)
commit40b2c7f29b44e3c3e171a04593ac650aaf7c6ae6
tree6839b627b216764881b6053d6f07155a642e2fab
parentdb23825970b021d0b5302d43aa5355c295c133d9
[lldb] Fix another instance where we pass a nullptr as TypeSourceInfo to NonTypeTemplateParmDecl::Create

Summary:
Follow up to an issue pointed out in the review of D73808. We shouldn't just pass in a nullptr TypeSourceInfo
in case Clang decided to access it.

Reviewers: shafik, vsk

Reviewed By: shafik, vsk

Subscribers: kristof.beyls, JDevlieghere, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D73946
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp