[PATCH] D139429: [clang] Add test for CWG418

Vlad Serebrennikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 6 08:30:37 PST 2022


Endill added a comment.

> I think the relevant change from p1787 is to dcl.fct.default p4, specifically:
>
>> ... Declarations that inhabit different scopes have completely distinct sets of default arguments ...

It previously said "Declarations __in__ different scopes". To me it's no more that adjusting the wording to the new language of lookup, keeping the intent intact. Am I missing more serious consequences of this change?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139429/new/

https://reviews.llvm.org/D139429



More information about the cfe-commits mailing list