[all-commits] [llvm/llvm-project] 4f8180: [mlir] Use std::optional instead of None in commen...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Dec 10 17:11:37 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f81805a3f8874ad055586724c3985c190bca801
      https://github.com/llvm/llvm-project/commit/4f81805a3f8874ad055586724c3985c190bca801
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-12-10 (Sat, 10 Dec 2022)

  Changed paths:
    M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
    M mlir/include/mlir/Analysis/Presburger/Simplex.h
    M mlir/include/mlir/Dialect/Affine/Analysis/Utils.h
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/include/mlir/IR/SubElementInterfaces.h
    M mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
    M mlir/include/mlir/TableGen/Attribute.h
    M mlir/include/mlir/TableGen/Builder.h
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
    M mlir/lib/Bytecode/Reader/BytecodeReader.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/IR/SymbolTable.cpp
    M mlir/lib/TableGen/Attribute.cpp
    M mlir/lib/Transforms/Utils/DialectConversion.cpp
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp

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