[all-commits] [llvm/llvm-project] 43fbbc: [clangd] llvm::Optional::value => operator*/operat...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Dec 16 21:11:16 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43fbbcbfa9a0cb0a0ce2e1c5df63e49e8acf2db2
      https://github.com/llvm/llvm-project/commit/43fbbcbfa9a0cb0a0ce2e1c5df63e49e8acf2db2
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-12-17 (Sat, 17 Dec 2022)

  Changed paths:
    M clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp
    M clang-tools-extra/clangd/unittests/GlobalCompilationDatabaseTests.cpp
    M clang-tools-extra/clangd/unittests/HeaderSourceSwitchTests.cpp
    M clang-tools-extra/clangd/unittests/LSPBinderTests.cpp

  Log Message:
  -----------
  [clangd] llvm::Optional::value => operator*/operator->

std::optional::value() has undesired exception checking semantics and is
unavailable in some older Xcode. The call sites block std::optional migration.




More information about the All-commits mailing list