[all-commits] [llvm/llvm-project] 93c761: [llvm-libtool-darwin] Use Optional operator overlo...

Shoaib Meenai via All-commits all-commits at lists.llvm.org
Sat Aug 15 11:43:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 93c761f5e5b05c8ee54062f43d9c34bb75a0c2bb
      https://github.com/llvm/llvm-project/commit/93c761f5e5b05c8ee54062f43d9c34bb75a0c2bb
  Author: Shoaib Meenai <smeenai at fb.com>
  Date:   2020-08-15 (Sat, 15 Aug 2020)

  Changed paths:
    M llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp

  Log Message:
  -----------
  [llvm-libtool-darwin] Use Optional operator overloads. NFC

Use operator bool instead of hasValue and operator* instead of getValue
to simplify the code slightly.




More information about the All-commits mailing list