[all-commits] [llvm/llvm-project] 917875: [Support] Use std::optional in CachePruning.h (NFC)

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


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

  Changed paths:
    M llvm/include/llvm/Support/CachePruning.h

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

  Changed paths:
    M llvm/include/llvm/Support/GenericDomTreeConstruction.h

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

  Changed paths:
    M llvm/include/llvm/Support/GlobPattern.h

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

  Changed paths:
    M llvm/include/llvm/Support/HashBuilder.h

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

  Changed paths:
    M llvm/include/llvm/Support/InitLLVM.h

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

  Changed paths:
    M llvm/include/llvm/Support/InstructionCost.h

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

  Changed paths:
    M llvm/include/llvm/Support/ToolOutputFile.h

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

  Changed paths:
    M llvm/include/llvm/Support/raw_ostream.h

  Log Message:
  -----------
  [Support] Use std::optional in raw_ostream.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/537137ece1dd...cc0764e7fa4b


More information about the All-commits mailing list