[all-commits] [llvm/llvm-project] e2e572: [AsmParser] Use std::optional in Parser.cpp (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Dec 10 10:29:08 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2e572a8d4ec75db458f8d6ab91896b7e41837f5
      https://github.com/llvm/llvm-project/commit/e2e572a8d4ec75db458f8d6ab91896b7e41837f5
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-12-10 (Sat, 10 Dec 2022)

  Changed paths:
    M mlir/lib/AsmParser/Parser.cpp

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