[all-commits] [llvm/llvm-project] b70fbd: [clangd] Use std::nullopt instead of None (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Tue Dec 6 23:50:33 PST 2022


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

  Changed paths:
    M clang-tools-extra/clangd/CodeComplete.cpp

  Log Message:
  -----------
  [clangd] Use std::nullopt instead of None (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