[all-commits] [llvm/llvm-project] f5df58: [flang] Version information in flang/f18
Camille Coti via All-commits
all-commits at lists.llvm.org
Wed Sep 2 02:25:14 PDT 2020
Branch: refs/heads/release/11.x
Home: https://github.com/llvm/llvm-project
Commit: f5df584a5077e726ad851ccfe8496deda3e5ef07
https://github.com/llvm/llvm-project/commit/f5df584a5077e726ad851ccfe8496deda3e5ef07
Author: Camille Coti <camille.coti at gmail.com>
Date: 2020-09-02 (Wed, 02 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
(cherry picked from commit b11c52781635bd871abd6d932cfd5dcd6f311903)
More information about the All-commits
mailing list