[all-commits] [llvm/llvm-project] 94d96c: [MLIR] [Python] Pybind adaptors: coerce None to de...

John Demme via All-commits all-commits at lists.llvm.org
Tue Apr 5 17:13:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94d96c2a6201e0927e835b5c0e5b4cb8f95eeadf
      https://github.com/llvm/llvm-project/commit/94d96c2a6201e0927e835b5c0e5b4cb8f95eeadf
  Author: John Demme <john.demme at microsoft.com>
  Date:   2022-04-05 (Tue, 05 Apr 2022)

  Changed paths:
    M mlir/include/mlir/Bindings/Python/PybindAdaptors.h

  Log Message:
  -----------
  [MLIR] [Python] Pybind adaptors: coerce None to default MlirLocation

Add default source location coercion to enable location elision in
Python code.




More information about the All-commits mailing list