[all-commits] [llvm/llvm-project] 7c97dc: [clang] Do not crash on undefined template partial...

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Thu Apr 27 02:42:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c97dc20ab6148289f2cc01b2999130e32a19eb3
      https://github.com/llvm/llvm-project/commit/7c97dc20ab6148289f2cc01b2999130e32a19eb3
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2023-04-27 (Thu, 27 Apr 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaCXXScopeSpec.cpp
    A clang/test/SemaCXX/undefined-partial-specialization.cpp

  Log Message:
  -----------
  [clang] Do not crash on undefined template partial specialization

Before checking that template partial specialization is "reachable",
ensure it exists.

Fixes https://github.com/llvm/llvm-project/issues/61356

Reviewed By: shafik, erichkeane

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




More information about the All-commits mailing list