[all-commits] [llvm/llvm-project] 17d779: [AST] Use std::optional in ASTImporter.cpp (NFC)

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


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

  Changed paths:
    M clang/lib/AST/ASTImporter.cpp

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