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

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Dec 4 17:40:42 PST 2022


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

  Changed paths:
    M clang-tools-extra/clang-tidy/utils/IncludeSorter.h
    M clang-tools-extra/clangd/AST.cpp
    M clang-tools-extra/clangd/Headers.h
    M clang-tools-extra/clangd/IncludeFixer.h
    M clang-tools-extra/clangd/index/dex/PostingList.cpp
    M clang-tools-extra/clangd/refactor/Rename.h
    M clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
    M clang-tools-extra/clangd/unittests/tweaks/TweakTesting.cpp
    M clang-tools-extra/pseudo/include/clang-pseudo/grammar/LRTable.h
    M clang-tools-extra/pseudo/lib/DirectiveTree.cpp

  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