[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
This commit is contained in:
Andrzej Warzynski 2021-01-14 16:39:16 +00:00
parent 7c9c2a2ea5
commit 0afdbb4d2d
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}