[all-commits] [llvm/llvm-project] 2b943c: [Sema] Fixes a crash with a templated destructor

mordante via All-commits all-commits at lists.llvm.org
Thu Nov 7 12:22:45 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b943c46873a6411c5a79dcd708d8c72ce5b3675
      https://github.com/llvm/llvm-project/commit/2b943c46873a6411c5a79dcd708d8c72ce5b3675
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2019-11-07 (Thu, 07 Nov 2019)

  Changed paths:
    M clang/lib/Sema/SemaLookup.cpp
    M clang/test/SemaTemplate/destructor-template.cpp

  Log Message:
  -----------
  [Sema] Fixes a crash with a templated destructor

The issue was introduced by D33189 which fixed PR33189.

Fixes PR38671: "destructor cannot be declared as a template" leads to segfault in Sema::LookupSpecialMember

Differential Revision: https://reviews.llvm.org/D69225




More information about the All-commits mailing list