// -fdebug-compilation-dir (without '=') here.
CmdArgs.push_back("-fdebug-compilation-dir");
CmdArgs.push_back(Value.data());
- } else if (Value == "--version") {
- D.PrintVersion(C, llvm::outs());
} else {
D.Diag(diag::err_drv_unsupported_option_argument)
<< A->getOption().getName() << Value;
+++ /dev/null
-// Test version information.
-
-// RUN: %clang -Wa,--version -c -fintegrated-as %s -o /dev/null \
-// RUN: | FileCheck --check-prefix=IAS %s
-// IAS: clang version
-
-// RUN: %clang -Wa,--version -c -fno-integrated-as %s -o /dev/null \
-// RUN: | FileCheck --check-prefix=GAS %s
-// GAS-NOT: clang