[all-commits] [llvm/llvm-project] b5716d: [RetainCountChecker] Use std::optional in RetainCo...

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


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

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp

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