[all-commits] [llvm/llvm-project] fb2f3b: [AsmPrinter] Use std::optional in DbgEntityHistory...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Nov 26 14:14:00 PST 2022


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

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp

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