Author: Andrzej Warzynski Date: 2021-01-14T16:51:49Z New Revision: 0afdbb4d2dead42df14361ca9f5613d56667481c
URL: https://github.com/llvm/llvm-project/commit/0afdbb4d2dead42df14361ca9f5613d56667481c DIFF: https://github.com/llvm/llvm-project/commit/0afdbb4d2dead42df14361ca9f5613d56667481c.diff LOG: [flang][driver] Use __FLANG_VERISION__ in f18.cpp (nfc) Just a minor improvement suggested in a post-commit review here: https://reviews.llvm.org/D94422 Added: Modified: flang/tools/f18/f18.cpp Removed: ################################################################################ diff --git a/flang/tools/f18/f18.cpp b/flang/tools/f18/f18.cpp index bdf48d071142..9a10aeda7b24 100644 --- a/flang/tools/f18/f18.cpp +++ b/flang/tools/f18/f18.cpp @@ -389,8 +389,7 @@ void Link(std::vector<std::string> &liblist, std::vector<std::string> &objects, int printVersion() { llvm::errs() << "\nf18 compiler (under development), version " - << FLANG_VERSION_MAJOR << "." << FLANG_VERSION_MINOR << "." - << FLANG_VERSION_PATCHLEVEL << "\n"; + << FLANG_VERSION_STRING << "\n"; return exitStatus; } _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits