[all-commits] [llvm/llvm-project] df9ae5: Use MlirStringRef throughout the C API
github-actions[bot] via All-commits
all-commits at lists.llvm.org
Mon Nov 23 14:14:04 PST 2020
Branch: refs/heads/temp-test-main
Home: https://github.com/llvm/llvm-project
Commit: df9ae5992889560a8f3c6760b54d5051b47c7bf5
https://github.com/llvm/llvm-project/commit/df9ae5992889560a8f3c6760b54d5051b47c7bf5
Author: George <>
Date: 2020-11-23 (Mon, 23 Nov 2020)
Changed paths:
M mlir/include/mlir-c/IR.h
M mlir/include/mlir-c/Support.h
M mlir/include/mlir/CAPI/Utils.h
M mlir/lib/CAPI/IR/IR.cpp
M mlir/lib/CAPI/IR/StandardAttributes.cpp
M mlir/test/CAPI/ir.c
M mlir/test/CAPI/pass.c
Log Message:
-----------
Use MlirStringRef throughout the C API
While this makes the unit tests a bit more verbose, this simplifies the creation of bindings because only the bidirectional mapping between the host language's string type and MlirStringRef need to be implemented.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D91905
More information about the All-commits
mailing list