[all-commits] [llvm/llvm-project] 541ef3: Include <optional> instead of "llvm/ADT/Optional.h"

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Dec 18 00:29:07 PST 2022


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

  Changed paths:
    M clang-tools-extra/clangd/Config.h
    M llvm/include/llvm/Support/Allocator.h
    M llvm/include/llvm/Support/FormatProviders.h
    M llvm/include/llvm/Support/NativeFormatting.h
    M llvm/include/llvm/Support/VersionTuple.h
    M llvm/include/llvm/Support/VirtualFileSystem.h
    M llvm/lib/Support/OptimizedStructLayout.cpp
    M llvm/lib/Support/Threading.cpp

  Log Message:
  -----------
  Include <optional> instead of "llvm/ADT/Optional.h"

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