[clang] 7d4ce70 - [LinkerWrapper][NFC] Remove unused options
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 27 08:49:45 PST 2023
Author: Joseph Huber
Date: 2023-01-27T10:49:31-06:00
New Revision: 7d4ce7050505baadd0d40c30d0726a136a64c717
URL: https://github.com/llvm/llvm-project/commit/7d4ce7050505baadd0d40c30d0726a136a64c717
DIFF: https://github.com/llvm/llvm-project/commit/7d4ce7050505baadd0d40c30d0726a136a64c717.diff
LOG: [LinkerWrapper][NFC] Remove unused options
Summary:
These options are no longer used, we don't need to keep them.
Added:
Modified:
clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
Removed:
################################################################################
diff --git a/clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td b/clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
index c12aac77c3b69..ce37a6d4821c5 100644
--- a/clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
+++ b/clang/tools/clang-linker-wrapper/LinkerWrapperOpts.td
@@ -111,14 +111,8 @@ def library_S : Separate<["--", "-"], "library">, Flags<[HelpHidden]>,
def library_EQ : Joined<["--", "-"], "library=">, Flags<[HelpHidden]>,
Alias<library_path>;
-def as_needed : Flag<["--", "-"], "as-needed">;
-def no_as_needed : Flag<["--", "-"], "no-as-needed">;
-
def rpath : Separate<["--", "-"], "rpath">;
def rpath_EQ : Joined<["--", "-"], "rpath=">, Flags<[HelpHidden]>, Alias<rpath>;
-def dynamic_linker : Separate<["--", "-"], "dynamic-linker">;
-def dynamic_linker_EQ : Joined<["--", "-"], "dynamic-linker=">, Alias<dynamic_linker>;
-
def v : Flag<["--", "-"], "v">, HelpText<"Display the version number and exit">;
def version : Flag<["--", "-"], "version">, Flags<[HelpHidden]>, Alias<v>;
More information about the cfe-commits
mailing list