[all-commits] [llvm/llvm-project] a5f8a3: [IPO] Use std::optional in GlobalOpt.cpp (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Nov 25 23:38:46 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5f8a36d0298b4e5f608b760c4d84f6d3e5c3251
      https://github.com/llvm/llvm-project/commit/a5f8a36d0298b4e5f608b760c4d84f6d3e5c3251
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp

  Log Message:
  -----------
  [IPO] Use std::optional in GlobalOpt.cpp (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




More information about the All-commits mailing list