r309960 - Revert r304836.

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 3 09:46:17 PDT 2017


Author: nico
Date: Thu Aug  3 09:46:17 2017
New Revision: 309960

URL: http://llvm.org/viewvc/llvm-project?rev=309960&view=rev
Log:
Revert r304836.

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

Modified:
    cfe/trunk/lib/Driver/Driver.cpp

Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=309960&r1=309959&r2=309960&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Thu Aug  3 09:46:17 2017
@@ -1191,10 +1191,6 @@ bool Driver::HandleImmediateArgs(const 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;
   }
 




More information about the cfe-commits mailing list