[all-commits] [llvm/llvm-project] 50d8da: [clang] concepts: perform parameter mapping subsit...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Fri Aug 2 13:16:44 PDT 2024


  Branch: refs/heads/users/mizvekov/clang-fix-GH60336
  Home:   https://github.com/llvm/llvm-project
  Commit: 50d8da62a82b79347ee1ca34e5763dfc03b76f54
      https://github.com/llvm/llvm-project/commit/50d8da62a82b79347ee1ca34e5763dfc03b76f54
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Sema/SemaConcept.h
    M clang/lib/Sema/SemaConcept.cpp
    A clang/test/Modules/GH60336-2.cpp
    M clang/test/Modules/GH60336.cpp

  Log Message:
  -----------
  [clang] concepts: perform parameter mapping subsitution in correct context

Prior to this patch, during constraint normalization we could
forget from which declaration an atomic constraint was normalized
from.

Subsequently when performing parameter mapping substitution for
that atomic constraint with an incorrect context, we couldn't
correctly recognize which declarations are supposed to be visible.

Fixes #60336



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