[all-commits] [llvm/llvm-project] b11c52: [flang] Version information in flang/f18
Camille Coti via All-commits
all-commits at lists.llvm.org
Tue Sep 1 11:06:10 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b11c52781635bd871abd6d932cfd5dcd6f311903
https://github.com/llvm/llvm-project/commit/b11c52781635bd871abd6d932cfd5dcd6f311903
Author: Camille Coti <camille.coti at gmail.com>
Date: 2020-09-01 (Tue, 01 Sep 2020)
Changed paths:
M flang/test/Driver/version_test.f90
A flang/test/Preprocessing/compiler_defined_macros.F90
M flang/tools/f18/CMakeLists.txt
M flang/tools/f18/f18.cpp
A flang/tools/f18/f18_version.h.in
Log Message:
-----------
[flang] Version information in flang/f18
Fixed some version information in flang/f18:
- fixed the behavior of the -v switch: this flag enables verbosity with used with arguments, but just displays the version when used alone (related to this bug: https://bugs.llvm.org/show_bug.cgi?id=46017)
- added __FLANG, __FLANG_MAJOR__, __FLANG_MINOR__ and __FLANG_PATCHLEVEL__ (similar to their __F18* counterparts) for compatibility purpose
Reviewed By: AlexisPerry, richard.barton.arm, tskeith
Differential Revision: https://reviews.llvm.org/D84334
More information about the All-commits
mailing list