[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
================
@@ -3034,6 +3034,12 @@ def fms_extensions : Flag<["-"], "fms-extensions">, Group<f_Group>,
Visibility<[ClangOption, CC1Option, CLOption]>,
HelpText<"Accept some non-standard constructs supported by the Microsoft compiler">,
MarshallingInfoFlag<LangOpts<"MicrosoftExt">>, ImpliedByAnyOf<[fms_compatibility.KeyPath]>;
+def fms_reference_binding : Flag<["-"], "fms-reference-binding">, Group<f_Group>,
+ Visibility<[ClangOption, CC1Option, CLOption]>,
+ HelpText<"Accept expressions that bind a non-const lvalue reference to a user-defined type temporary as supported by the Microsoft Compiler">,
----------------
zmodem wrote:
s/Compiler/compiler/
I know the file is not consistent, but historically it's been trying to stay within 80 columns, so consider breaking up the HelpText (also below). See e.g. fms_compatibility_version for an example.
https://github.com/llvm/llvm-project/pull/99833
More information about the cfe-commits
mailing list