[all-commits] [llvm/llvm-project] 1101b7: [Clang] Implement CWG3005 Function parameters shou...

cor3ntin via All-commits all-commits at lists.llvm.org
Fri May 2 11:56:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1101b767329dd163d528fa5f667a6c0dbdde0ad5
      https://github.com/llvm/llvm-project/commit/1101b767329dd163d528fa5f667a6c0dbdde0ad5
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaDecl.cpp
    A clang/test/CXX/drs/cwg30xx.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [Clang] Implement CWG3005 Function parameters should never be name-independent (#138245)

We already attempted to implement this (it was the intent of the paper),
in that parameters were never considered name-independent. However, we
failed to check that any previously found parameter declaration was also
name-independent.

Note that, as worded, the current resolution is insufficient (I wrote to
CWG with better wording), but there is some consensus on the design
outcome.

Fixes #136373



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