[all-commits] [llvm/llvm-project] d2c18b: [NFC][llvm-objcopy] Fix redundant config checks.

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Tue Aug 11 10:40:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d2c18b598359f9b59314669ccd15070d07aeb68a
      https://github.com/llvm/llvm-project/commit/d2c18b598359f9b59314669ccd15070d07aeb68a
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2020-08-11 (Tue, 11 Aug 2020)

  Changed paths:
    M llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp

  Log Message:
  -----------
  [NFC][llvm-objcopy] Fix redundant config checks.

The check for unsupported options checks some configs twice in a || expression. Fixes PR47107.




More information about the All-commits mailing list