[all-commits] [llvm/llvm-project] 602af7: [StaticAnalyzer] Use std::optional in BugReporter....

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


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

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/BugReporter.cpp

  Log Message:
  -----------
  [StaticAnalyzer] Use std::optional in BugReporter.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: a67a11536e1cfaec0e02a740b5a77f0db4e1481a
      https://github.com/llvm/llvm-project/commit/a67a11536e1cfaec0e02a740b5a77f0db4e1481a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-12-10 (Sat, 10 Dec 2022)

  Changed paths:
    M clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp

  Log Message:
  -----------
  [StaticAnalyzer] Use std::optional in BugReporterVisitors.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/ec94a5b71685...a67a11536e1c


More information about the All-commits mailing list