Fix undeduced type assert
authorserge-sans-paille <sguelton@redhat.com>
Mon, 7 Jun 2021 15:14:43 +0000 (17:14 +0200)
committerserge-sans-paille <sguelton@redhat.com>
Thu, 15 Jul 2021 08:52:25 +0000 (10:52 +0200)
commit4b219051a331d49c391fe452548bc220bcfe8ea3
tree70c43647f27da8a90adf4d8128f1f14a19e1e373
parentd9cdcfb069e97b106474f11ace9193ca24323006
Fix undeduced type assert

If the instantiation of a member variable makes it possible to
compute a previously undeduced type, we should use that piece of
information.

Fix bug#50590

Differential Revision: https://reviews.llvm.org/D103849
clang/lib/AST/Expr.cpp
clang/test/CodeGenCXX/auto-variable-template.cpp