[Sema] Fix the assertion in Sema::ActOnDependentMemberExpr
authorYuanfang Chen <yuanfang.chen@sony.com>
Tue, 4 Jan 2022 20:11:33 +0000 (12:11 -0800)
committerYuanfang Chen <yuanfang.chen@sony.com>
Tue, 4 Jan 2022 21:08:12 +0000 (13:08 -0800)
commite902ffe6d7560f708b76edaa53d75edcb5d49a3f
tree78659a7064cad7083c3258ada59630a20ea613d1
parentdd72ae3dcc6895f95e1203b40aabcb069c76a0ab
[Sema] Fix the assertion in Sema::ActOnDependentMemberExpr

617007240cbfb97c introduced the use of ActOnDependentMemberExpr with
variable template specialization. The assertion inside
ActOnDependentMemberExpr should be adjusted accordingly.

Fixes https://bugs.llvm.org/show_bug.cgi?id=47211

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D113146
clang/lib/Sema/SemaExprMember.cpp
clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp