[all-commits] [llvm/llvm-project] f7bf8a: [mlir][capi] Add NameLoc
Jacques Pienaar via All-commits
all-commits at lists.llvm.org
Wed Sep 1 16:16:57 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f7bf8a865863ca18f5d566832049982a361fd7f8
https://github.com/llvm/llvm-project/commit/f7bf8a865863ca18f5d566832049982a361fd7f8
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2021-09-01 (Wed, 01 Sep 2021)
Changed paths:
M mlir/include/mlir-c/IR.h
M mlir/lib/CAPI/IR/IR.cpp
M mlir/test/CAPI/ir.c
Log Message:
-----------
[mlir][capi] Add NameLoc
Add method to get NameLoc. Treat null child location as unknown to avoid
needing to create UnknownLoc in C API where child loc is not needed.
Differential Revision: https://reviews.llvm.org/D108678
More information about the All-commits
mailing list