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

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Sun Aug 4 14:23:34 PDT 2024


  Branch: refs/heads/users/mizvekov/clang-fix-GH60336
  Home:   https://github.com/llvm/llvm-project
  Commit: 56c022ef412d311a82a34ae2add05457e53d31ec
      https://github.com/llvm/llvm-project/commit/56c022ef412d311a82a34ae2add05457e53d31ec
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-08-04 (Sun, 04 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