[clang] [clang-cl] [Sema] Support MSVC non-const lvalue to user-defined temporary reference (PR #99833)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 20 04:49:44 PDT 2024
================
@@ -950,12 +950,14 @@ static void TranslatePermissive(Arg *A, llvm::opt::DerivedArgList &DAL,
const OptTable &Opts) {
DAL.AddFlagArg(A, Opts.getOption(options::OPT__SLASH_Zc_twoPhase_));
DAL.AddFlagArg(A, Opts.getOption(options::OPT_fno_operator_names));
+ DAL.AddFlagArg(A, Opts.getOption(options::OPT_fms_reference_binding));
----------------
zmodem wrote:
Do we need to check for c++20 like we do above?
https://github.com/llvm/llvm-project/pull/99833
More information about the cfe-commits
mailing list