[flang-commits] [flang] [flang][driver] Mark -fcommon and -mtune as visible in Flang (PR #68657)

Andrzej WarzyƄski via flang-commits flang-commits at lists.llvm.org
Wed Oct 11 14:33:19 PDT 2023


================
@@ -5077,6 +5077,7 @@ def module_file_info : Flag<["-"], "module-file-info">, Flags<[NoXarchOption]>,
   HelpText<"Provide information about a particular module file">;
 def mthumb : Flag<["-"], "mthumb">, Group<m_Group>;
 def mtune_EQ : Joined<["-"], "mtune=">, Group<m_Group>,
+  Flags<[TargetSpecific]>, Visibility<[ClangOption, CLOption, DXCOption, FlangOption]>,
----------------
banach-space wrote:

How did you infer these visibility flags? Also, could you add a test for this flag?

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


More information about the flang-commits mailing list