[clang] [flang] Ignore -f[no-]realloc-lhs. (PR #120320)

Kiran Chandramohan via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 17 14:59:42 PST 2024


================
@@ -3465,7 +3465,7 @@ defm diagnostics_show_line_numbers : BoolFOption<"diagnostics-show-line-numbers"
   PosFlag<SetTrue>>;
 def fno_realloc_lhs : Flag<["-"], "fno-realloc-lhs">, Group<f_Group>,
   HelpText<"An allocatable left-hand side of an intrinsic assignment is assumed to be allocated and match the shape/type of the right-hand side">,
-  Visibility<[FlangOption, FC1Option]>;
+  Visibility<[ClangOption, CLOption, FlangOption, FC1Option]>;
----------------
kiranchandramohan wrote:

Would this now show up in `clang --help` and online guide? Is that what we want?
Is CLOption for Windows?

https://github.com/llvm/llvm-project/pull/120320


More information about the cfe-commits mailing list