diff --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst --- a/clang/docs/ClangCommandLineReference.rst +++ b/clang/docs/ClangCommandLineReference.rst @@ -2735,6 +2735,8 @@ .. option:: -mtune= .. program:: clang +Accepted for compatibility with GCC. Currently has no effect. + .. option:: -mtvos-version-min=, -mappletvos-version-min= .. option:: -municode diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -2721,7 +2721,8 @@ def module_file_info : Flag<["-"], "module-file-info">, Flags<[DriverOption,CC1Option]>, Group, HelpText<"Provide information about a particular module file">; def mthumb : Flag<["-"], "mthumb">, Group; -def mtune_EQ : Joined<["-"], "mtune=">, Group; +def mtune_EQ : Joined<["-"], "mtune=">, Group, + HelpText<"Accepted for compatibility with GCC. Currently has no effect.">; def multi__module : Flag<["-"], "multi_module">; def multiply__defined__unused : Separate<["-"], "multiply_defined_unused">; def multiply__defined : Separate<["-"], "multiply_defined">;