[all-commits] [llvm/llvm-project] ebd3ee: [Frontend] Use std::optional in TextDiagnostic.cpp...

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Dec 9 23:22:55 PST 2022


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

  Changed paths:
    M clang/lib/Frontend/TextDiagnostic.cpp

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