[all-commits] [llvm/llvm-project] aee591: [clang-tools-extra] Use std::nullopt instead of No...

kazutakahirata via All-commits all-commits at lists.llvm.org
Wed Dec 7 20:22:42 PST 2022


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

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidyCheck.h
    M clang-tools-extra/clang-tidy/NoLintDirectiveHandler.cpp
    M clang-tools-extra/clang-tidy/abseil/DurationFactoryScaleCheck.cpp
    M clang-tools-extra/clang-tidy/abseil/DurationRewriter.cpp
    M clang-tools-extra/clang-tidy/abseil/DurationRewriter.h
    M clang-tools-extra/clang-tidy/readability/ConstReturnTypeCheck.cpp
    M clang-tools-extra/clang-tidy/utils/LexerUtils.h
    M clang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.h
    M clang-tools-extra/clangd/ClangdLSPServer.h
    M clang-tools-extra/clangd/Headers.h

  Log Message:
  -----------
  [clang-tools-extra] Use std::nullopt instead of None in comments (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