Skip to content

Commit bf2479c

Browse files
Revert "Add support to -Wa,--version in clang"
This reverts commit 3cc3c0f. Breaks non-linux platforms. https://reviews.llvm.org/D99556#2662706 Signed-off-by: Nick Desaulniers <[email protected]>
1 parent f1e4e2f commit bf2479c

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2549,8 +2549,6 @@ static void CollectArgsForIntegratedAssembler(Compilation &C,
25492549
// -fdebug-compilation-dir (without '=') here.
25502550
CmdArgs.push_back("-fdebug-compilation-dir");
25512551
CmdArgs.push_back(Value.data());
2552-
} else if (Value == "--version") {
2553-
D.PrintVersion(C, llvm::outs());
25542552
} else {
25552553
D.Diag(diag::err_drv_unsupported_option_argument)
25562554
<< A->getOption().getName() << Value;

clang/test/Driver/as-version.s

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)