[all-commits] [llvm/llvm-project] e902ff: [Sema] Fix the assertion in Sema::ActOnDependentMe...

Yuanfang Chen via All-commits all-commits at lists.llvm.org
Tue Jan 4 13:08:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e902ffe6d7560f708b76edaa53d75edcb5d49a3f
      https://github.com/llvm/llvm-project/commit/e902ffe6d7560f708b76edaa53d75edcb5d49a3f
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2022-01-04 (Tue, 04 Jan 2022)

  Changed paths:
    M clang/lib/Sema/SemaExprMember.cpp
    M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list