[all-commits] [llvm/llvm-project] eacf7c: [StaticAnalyzer] Use std::optional in MallocChecke...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Dec 10 21:16:00 PST 2022


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

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp

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


  Commit: 3e572733d9d8eba90cfc5812c70e0d2df02f72b2
      https://github.com/llvm/llvm-project/commit/3e572733d9d8eba90cfc5812c70e0d2df02f72b2
  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:
  -----------
  [StaticAnalyzer] 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


Compare: https://github.com/llvm/llvm-project/compare/a67a11536e1c...3e572733d9d8


More information about the All-commits mailing list