[all-commits] [llvm/llvm-project] 2d1b09: [Utils] Use std::optional in SimplifyCFG.cpp (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Nov 26 17:55:47 PST 2022


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

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [Utils] Use std::optional in SimplifyCFG.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