Fix assertion failure due to incorrect dependence bits on a DeclRefExpr
authorRichard Smith <richard@metafoo.co.uk>
Tue, 8 Dec 2020 02:41:43 +0000 (18:41 -0800)
committerRichard Smith <richard@metafoo.co.uk>
Tue, 8 Dec 2020 02:48:38 +0000 (18:48 -0800)
commit590e14653252faa97c2a32ba38aeef05ec681f9b
treeb648da105abddfd38116ac562f95961c2bdb7752
parent29295e21651f7071f1961a126d1c25a5526cec5a
Fix assertion failure due to incorrect dependence bits on a DeclRefExpr
that can only be set correctly after instantiating the initializer for a
variable.
clang/include/clang/AST/Expr.h
clang/lib/AST/Expr.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/SemaCXX/recovery-expr-type.cpp