[flang-commits] [flang] [flang][driver] support -dumpversion and -dumpmachine (PR #68896)
Andrzej WarzyĆski via flang-commits
flang-commits at lists.llvm.org
Tue Oct 17 08:47:11 PDT 2023
================
@@ -2081,7 +2082,7 @@ bool Driver::HandleImmediateArgs(const Compilation &C) {
if (C.getArgs().hasArg(options::OPT_dumpversion)) {
// Since -dumpversion is only implemented for pedantic GCC compatibility, we
// return an answer which matches our definition of __VERSION__.
- llvm::outs() << CLANG_VERSION_STRING << "\n";
+ llvm::outs() << DriverVersion << "\n";
----------------
banach-space wrote:
This change is not needed, is it?
https://github.com/llvm/llvm-project/pull/68896
More information about the flang-commits
mailing list