[all-commits] [llvm/llvm-project] 757fa6: [clang] accept member specializations declared in ...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Fri Jul 3 16:58:19 PDT 2026


  Branch: refs/heads/users/mizvekov/member-spec-class-scope
  Home:   https://github.com/llvm/llvm-project
  Commit: 757fa6a065d2d7dd430e0a5b210c7d2907f6d606
      https://github.com/llvm/llvm-project/commit/757fa6a065d2d7dd430e0a5b210c7d2907f6d606
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2026-07-03 (Fri, 03 Jul 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.md
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/CXX/drs/cwg7xx.cpp
    M clang/test/SemaTemplate/member-specialization.cpp

  Log Message:
  -----------
  [clang] accept member specializations declared in class scope

Explicit specializations are not restricted to namespace scope since CWG727 was
accepted as a DR.

Also fixes a crash upon error recovery in this case which was a recent
unreleased regression.

Fixes #206866



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list