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

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 6 09:44:14 PST 2022


shafik added a comment.

In D139429#3974745 <https://reviews.llvm.org/D139429#3974745>, @Endill wrote:

>> 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?

I think your correct on this.


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