Revert r304836.

See discussion in https://reviews.llvm.org/D33900#824172

llvm-svn: 309960
This commit is contained in:
Nico Weber 2017-08-03 16:46:17 +00:00
parent ef4dbb46da
commit 9901472cfa
1 changed files with 0 additions and 4 deletions

View File

@ -1191,10 +1191,6 @@ bool Driver::HandleImmediateArgs(const Compilation &C) {
if (C.getArgs().hasArg(options::OPT__version)) {
// Follow gcc behavior and use stdout for --version and stderr for -v.
PrintVersion(C, llvm::outs());
// Print registered targets.
llvm::outs() << '\n';
llvm::TargetRegistry::printRegisteredTargetsForVersion(llvm::outs());
return false;
}