[all-commits] [llvm/llvm-project] 355f1c: [Clang] Fix PR28101

PoYao Chang via All-commits all-commits at lists.llvm.org
Wed Mar 23 09:39:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 355f1c75aa66fc3d9bef897375f5e0979a55001d
      https://github.com/llvm/llvm-project/commit/355f1c75aa66fc3d9bef897375f5e0979a55001d
  Author: PoYao Chang <poyaoc97 at gmail.com>
  Date:   2022-03-24 (Thu, 24 Mar 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaDeclCXX.cpp
    A clang/test/SemaCXX/PR28101.cpp

  Log Message:
  -----------
  [Clang] Fix PR28101

Fixes https://github.com/llvm/llvm-project/issues/28475 (PR28101)
by setting identifier for invalid member variables with template parameters,
so that the invalid declarators would not crash clang.

See also: https://github.com/llvm/llvm-project/commit/942c03910a

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




More information about the All-commits mailing list