[PATCH] D120862: Sema: Allow scoped enums as source type for integral conversion.

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 13 18:37:10 PDT 2022


shafik added a subscriber: aaron.ballman.
shafik added a comment.

In D120862#3857340 <https://reviews.llvm.org/D120862#3857340>, @pcc wrote:

> Does that DR apply retroactively to C++17? I get the impression that "Status: C++20" means that the issue was only fixed in C++20, which would make this well-formed with `-std=c++17`.

This was simply an oversite in the wording of the paper see discussion here <https://twitter.com/zygoloid/status/965065725126651905?s=20&t=VS6_mRhxXKzho6eWswAfmA> and this was never intended to work.

We have some discretion about how far back to apply DRs and I believe as long as applying them back does not cause major disruption we do CC @aaron.ballman


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120862



More information about the cfe-commits mailing list