[all-commits] [llvm/llvm-project] 1ca0cb: [llvm] Replace None with std::nullopt in comments ...

kazutakahirata via All-commits all-commits at lists.llvm.org
Tue Apr 25 23:53:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ca0cb717a0950f8397660d142f14a9b28deaebe
      https://github.com/llvm/llvm-project/commit/1ca0cb717a0950f8397660d142f14a9b28deaebe
  Author: Kazu Hirata <kazu at google.com>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
    M llvm/include/llvm/Analysis/LoopInfo.h
    M llvm/include/llvm/CodeGen/MIRFormatter.h
    M llvm/include/llvm/CodeGen/TargetInstrInfo.h
    M llvm/include/llvm/Object/MachO.h
    M llvm/include/llvm/Support/CachePruning.h
    M llvm/include/llvm/Support/Format.h
    M llvm/lib/Analysis/LazyValueInfo.cpp
    M llvm/lib/CodeGen/ImplicitNullChecks.cpp
    M llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
    M llvm/lib/FileCheck/FileCheckImpl.h
    M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  Log Message:
  -----------
  [llvm] Replace None with std::nullopt 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