[all-commits] [llvm/llvm-project] 6fd5c0: [IR] Use std::optional in InstrTypes.h (NFC)

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


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

  Changed paths:
    M llvm/include/llvm/IR/InstrTypes.h

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

  Changed paths:
    M llvm/include/llvm/IR/Instructions.h

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

  Changed paths:
    M llvm/include/llvm/IR/ModuleSummaryIndex.h

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

  Changed paths:
    M llvm/include/llvm/IR/Statepoint.h

  Log Message:
  -----------
  [IR] Use std::optional in Statepoint.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/cc0764e7fa4b...0ea3386d7b64


More information about the All-commits mailing list