[all-commits] [llvm/llvm-project] 15ae99: [mlir] Use std::nullopt instead of None in comment...

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


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

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/Analysis/LoopAnalysis.h
    M mlir/include/mlir/Dialect/Affine/Analysis/Utils.h
    M mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.h
    M mlir/include/mlir/IR/BuiltinAttributes.td
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/lib/AsmParser/Token.cpp
    M mlir/lib/AsmParser/Token.h
    M mlir/lib/Conversion/PDLToPDLInterp/Predicate.h
    M mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp
    M mlir/lib/Dialect/Affine/Analysis/LoopAnalysis.cpp
    M mlir/lib/Dialect/Affine/Analysis/Utils.cpp
    M mlir/lib/Dialect/Index/IR/IndexOps.cpp
    M mlir/lib/IR/BuiltinAttributes.cpp
    M mlir/lib/IR/OperationSupport.cpp

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