[all-commits] [llvm/llvm-project] f3a76f: [Object] Fix a warning

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Oct 15 12:43:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3a76f05811f6ac6071bdd865935b9974c97ff2b
      https://github.com/llvm/llvm-project/commit/f3a76f05811f6ac6071bdd865935b9974c97ff2b
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-10-15 (Sat, 15 Oct 2022)

  Changed paths:
    M llvm/lib/Object/XCOFFObjectFile.cpp

  Log Message:
  -----------
  [Object] Fix a warning

This patch fixes:

  llvm/lib/Object/XCOFFObjectFile.cpp:1001:20: warning: suggest
  parentheses around ‘&&’ within ‘||’ [-Wparentheses]




More information about the All-commits mailing list