[all-commits] [llvm/llvm-project] 492a60: [ProfileData] Use std::optional in MemProf.h (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Nov 27 18:26:24 PST 2022


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

  Changed paths:
    M llvm/include/llvm/ProfileData/MemProf.h

  Log Message:
  -----------
  [ProfileData] Use std::optional in MemProf.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: 2b158c972d297a0d3239c3696e96285300884a38
      https://github.com/llvm/llvm-project/commit/2b158c972d297a0d3239c3696e96285300884a38
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/include/llvm/Target/CGPassBuilderOption.h

  Log Message:
  -----------
  [Target] Use std::optional in CGPassBuilderOption.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: 6d5669c723f48a31f7063b14651edfe9c28c24bb
      https://github.com/llvm/llvm-project/commit/6d5669c723f48a31f7063b14651edfe9c28c24bb
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Attributor.h

  Log Message:
  -----------
  [IR] Use std::optional in Attributor.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: 38a29686d4e6609489aeea2132afd64b4251a224
      https://github.com/llvm/llvm-project/commit/38a29686d4e6609489aeea2132afd64b4251a224
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/GVN.h

  Log Message:
  -----------
  [Scalar] Use std::optional in GVN.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/21c3df4b8584...38a29686d4e6


More information about the All-commits mailing list