[all-commits] [llvm/llvm-project] c12ef7: [flang][driver] Add missing parentheses in an assert

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Thu May 5 11:03:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c12ef70d2b0ac6234feb48e01eb954dd753bb538
      https://github.com/llvm/llvm-project/commit/c12ef70d2b0ac6234feb48e01eb954dd753bb538
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2022-05-05 (Thu, 05 May 2022)

  Changed paths:
    M flang/lib/Frontend/FrontendActions.cpp

  Log Message:
  -----------
  [flang][driver] Add missing parentheses in an assert

The assert in https://reviews.llvm.org/D124665 was missing parentheses,
which triggered a warning in GCC (verified with GCC 11). As `-Werror` is
on by default in FLang, that triggered build errors, see e.g. [1].

The fix is rather straightforward, so I am sending this without a
review.

[1] https://lab.llvm.org/buildbot/#/builders/160/builds/7016

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




More information about the All-commits mailing list