[all-commits] [llvm/llvm-project] 89a9db: [flang] Version information in flang/f18

Camille Coti via All-commits all-commits at lists.llvm.org
Mon Aug 10 08:18:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 89a9db438f85c6d4c0f11ecd0448bb71e1deac24
      https://github.com/llvm/llvm-project/commit/89a9db438f85c6d4c0f11ecd0448bb71e1deac24
  Author: Camille Coti <camille.coti at gmail.com>
  Date:   2020-08-10 (Mon, 10 Aug 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: sscalpone, AlexisPerry, richard.barton.arm, tskeith

Differential Revision: https://reviews.llvm.org/D84334




More information about the All-commits mailing list