[all-commits] [llvm/llvm-project] 20ba07: [StaticAnalyzer] Don't use Optional::create (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Nov 25 15:39:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20ba079dda7be1a72d64cebc9f55d909bf29f6c1
      https://github.com/llvm/llvm-project/commit/20ba079dda7be1a72d64cebc9f55d909bf29f6c1
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

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

  Log Message:
  -----------
  [StaticAnalyzer] Don't use Optional::create (NFC)

Note that std::optional does not offer create().

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