================
@@ -826,10 +831,10 @@ def MP : Flag<["-"], "MP">, Group<M_Group>, 
Visibility<[ClangOption, CC1Option]>
     HelpText<"Create phony target for each dependency (other than main file)">,
     MarshallingInfoFlag<DependencyOutputOpts<"UsePhonyTargets">>;
 def MQ : JoinedOrSeparate<["-"], "MQ">, Group<M_Group>,
-  Visibility<[ClangOption, CC1Option]>,
+  Visibility<[ClangOption, CC1Option, FlangOption]>,
----------------
tarunprabhu wrote:

I think we should be consistent with clang for user-facing options, not 
necessarily for the underlying compiler. `-fc1` is not intended for end-users. 
If the option is completely handled by the driver, and is not required in the 
compiler, then there is no need to make it visible in `-fc1`.

https://github.com/llvm/llvm-project/pull/209379
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to