[all-commits] [llvm/llvm-project] 1f421b: [llvm] Use std::nullopt instead of None in comment...

kazutakahirata via All-commits all-commits at lists.llvm.org
Tue Dec 6 22:45:31 PST 2022


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

  Changed paths:
    M llvm/include/llvm/ADT/ArrayRef.h
    M llvm/include/llvm/Analysis/BranchProbabilityInfo.h
    M llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
    M llvm/include/llvm/Analysis/Utils/TFUtils.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/include/llvm/IR/GCStrategy.h
    M llvm/include/llvm/Transforms/IPO/Attributor.h
    M llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/lib/Support/Windows/Threading.inc
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [llvm] 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