[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
================
@@ -8492,6 +8498,12 @@ def _SLASH_Zc_wchar_t : CLFlag<"Zc:wchar_t">,
HelpText<"Enable C++ builtin type wchar_t (default)">;
def _SLASH_Zc_wchar_t_ : CLFlag<"Zc:wchar_t-">,
HelpText<"Disable C++ builtin type wchar_t">;
+def _SLASH_Zc_referenceBinding : CLFlag<"Zc:referenceBinding">,
+ HelpText<"Do not accept expressions that bind a non-const lvalue reference to a user-defined type temporary">,
----------------
zmodem wrote:
"(default)" at the end of the help text.
https://github.com/llvm/llvm-project/pull/99833
More information about the cfe-commits
mailing list