[clang] e85bc00 - Revert "Let clang print registered targets for --version"
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Thu May 7 08:02:29 PDT 2020
Author: Yaxun (Sam) Liu
Date: 2020-05-07T11:01:42-04:00
New Revision: e85bc0056ef8e7a4ec5b91f20226df609f6f7f12
URL: https://github.com/llvm/llvm-project/commit/e85bc0056ef8e7a4ec5b91f20226df609f6f7f12
DIFF: https://github.com/llvm/llvm-project/commit/e85bc0056ef8e7a4ec5b91f20226df609f6f7f12.diff
LOG: Revert "Let clang print registered targets for --version"
This reverts commit 66041187c9028f730c41597fe5ea6a63fda1ccad.
Will reland it under --print-target.
Differential Revision: https://reviews.llvm.org/D79210
Added:
Modified:
clang/lib/Driver/Driver.cpp
Removed:
################################################################################
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index 80a2d202efa1..7d82c8faa573 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -1569,9 +1569,6 @@ void Driver::PrintVersion(const Compilation &C, raw_ostream &OS) const {
// If configuration file was used, print its path.
if (!ConfigFile.empty())
OS << "Configuration file: " << ConfigFile << '\n';
-
- // Print the registered targets.
- llvm::TargetRegistry::printRegisteredTargetsForVersion(OS);
}
/// PrintDiagnosticCategories - Implement the --print-diagnostic-categories
More information about the cfe-commits
mailing list