[all-commits] [llvm/llvm-project] 316372: [ObjCopy] Use std::optional instead of llvm::Optio...

kazutakahirata via All-commits all-commits at lists.llvm.org
Wed Dec 7 22:34:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 316372f89372c3f4d9842d69a825f67f11cf2bd4
      https://github.com/llvm/llvm-project/commit/316372f89372c3f4d9842d69a825f67f11cf2bd4
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  Changed paths:
    M llvm/include/llvm/ObjCopy/CommonConfig.h

  Log Message:
  -----------
  [ObjCopy] Use std::optional instead of llvm::Optional in CommonConfig.h (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716


  Commit: bd273fe95e3178cb3bc3e62e41a2360046c0b1be
      https://github.com/llvm/llvm-project/commit/bd273fe95e3178cb3bc3e62e41a2360046c0b1be
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-12-07 (Wed, 07 Dec 2022)

  Changed paths:
    M llvm/include/llvm/ObjCopy/COFF/COFFConfig.h

  Log Message:
  -----------
  [ObjCopy] Use std::optional instead of llvm::Optional in COFFConfig.h (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716


Compare: https://github.com/llvm/llvm-project/compare/2a607d912e04...bd273fe95e31


More information about the All-commits mailing list