diff options
-rw-r--r-- | tools/clang-cc/clang-cc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/clang-cc/clang-cc.cpp b/tools/clang-cc/clang-cc.cpp index d32cc99a19..f664854074 100644 --- a/tools/clang-cc/clang-cc.cpp +++ b/tools/clang-cc/clang-cc.cpp @@ -2163,7 +2163,7 @@ int main(int argc, char **argv) { llvm::PrettyStackTraceProgram X(argc, argv); llvm::LLVMContext &Context = llvm::getGlobalContext(); - // Initialize targets first. + // Initialize targets first, so that --version shows registered targets. llvm::InitializeAllTargets(); llvm::InitializeAllAsmPrinters(); |