[PATCH] D120160: [Clang] Add `-funstable` flag to enable unstable and experimental features

Egor Zhdan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 7 11:37:27 PST 2022


egorzhdan added a comment.
Herald added a project: All.

Apologies for landing this too quickly! I'll adjust this logic in a separate patch: https://reviews.llvm.org/D121141

In D120160#3352399 <https://reviews.llvm.org/D120160#3352399>, @Mordante wrote:

> `-funstable` is an option that controls multiple flags therefore I think it would be good to have a separate flag to opt-in for unstable/incomplete libc++ features. That makes it easier to _only_ opt-in to these features.

@Mordante could you please elaborate a little bit, are you proposing a separate flag that would be equivalent to `-Xcc -funstable` (essentially to enable `LangOpts.Unstable` but not the rest of the flags) and have a different spelling to indicate that it is specific to libc++?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120160



More information about the cfe-commits mailing list