diff options
| -rw-r--r-- | clang/docs/ClangCommandLineReference.rst | 2 | ||||
| -rw-r--r-- | clang/include/clang/Driver/Options.td | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst index dcbfba3..f42ac6d 100644 --- a/clang/docs/ClangCommandLineReference.rst +++ b/clang/docs/ClangCommandLineReference.rst @@ -875,7 +875,7 @@ Inline functions which are (explicitly or implicitly) marked inline .. option:: -flegacy-pass-manager, -fno-experimental-new-pass-manager, -fno-legacy-pass-manager -Use the legacy pass manager in LLVM +Use the legacy pass manager in LLVM (deprecated, to be removed in a future release) .. option:: -fno-crash-diagnostics diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index 475b0ae..bbf65c5 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -1874,7 +1874,7 @@ def fexperimental_isel : Flag<["-"], "fexperimental-isel">, Group<f_clang_Group> Alias<fglobal_isel>; defm legacy_pass_manager : BoolOption<"f", "legacy-pass-manager", CodeGenOpts<"LegacyPassManager">, Default<"!static_cast<unsigned>(LLVM_ENABLE_NEW_PASS_MANAGER)">, - PosFlag<SetTrue, [], "Use the legacy pass manager in LLVM">, + PosFlag<SetTrue, [], "Use the legacy pass manager in LLVM (deprecated, to be removed in a future release)">, NegFlag<SetFalse, [], "Use the new pass manager in LLVM">, BothFlags<[CC1Option]>>, Group<f_clang_Group>; def fexperimental_new_pass_manager : Flag<["-"], "fexperimental-new-pass-manager">, |
