[all-commits] [llvm/llvm-project] 2c675b: [clang-tools-extra] Use std::optional instead of l...

kazutakahirata via All-commits all-commits at lists.llvm.org
Mon Jan 2 16:17:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c675be9b232c1d0b5c55cbcb196e71036c681ea
      https://github.com/llvm/llvm-project/commit/2c675be9b232c1d0b5c55cbcb196e71036c681ea
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-01-02 (Mon, 02 Jan 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidyOptions.h
    M clang-tools-extra/clang-tidy/ClangTidyProfiling.cpp
    M clang-tools-extra/clang-tidy/ClangTidyProfiling.h
    M clang-tools-extra/clangd/ConfigFragment.h
    M clang-tools-extra/clangd/ConfigProvider.cpp
    M clang-tools-extra/clangd/ConfigYAML.cpp
    M clang-tools-extra/clangd/FuzzyMatch.cpp
    M clang-tools-extra/clangd/FuzzyMatch.h
    M clang-tools-extra/clangd/PathMapping.cpp
    M clang-tools-extra/clangd/PathMapping.h
    M clang-tools-extra/clangd/TidyProvider.cpp
    M clang-tools-extra/clangd/index/dex/PostingList.cpp
    M clang-tools-extra/clangd/support/FileCache.cpp
    M clang-tools-extra/clangd/support/FileCache.h
    M clang-tools-extra/clangd/support/Threading.cpp
    M clang-tools-extra/clangd/support/Threading.h
    M clang-tools-extra/clangd/support/Trace.cpp
    M clang-tools-extra/clangd/unittests/FuzzyMatchTests.cpp
    M clang-tools-extra/clangd/unittests/LSPClient.h
    M clang-tools-extra/clangd/unittests/LoggerTests.cpp
    M clang-tools-extra/clangd/unittests/PathMappingTests.cpp
    M clang-tools-extra/clangd/unittests/support/CancellationTests.cpp
    M clang-tools-extra/pseudo/include/clang-pseudo/grammar/Grammar.h
    M clang-tools-extra/pseudo/lib/grammar/Grammar.cpp

  Log Message:
  -----------
  [clang-tools-extra] Use std::optional instead of llvm::Optional (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