]> granicus.if.org Git - llvm/commit
[LLVM-C] Publicly expose getters of MetadataType, TokenType
authorwhitequark <whitequark@whitequark.org>
Fri, 27 Oct 2017 11:51:40 +0000 (11:51 +0000)
committerwhitequark <whitequark@whitequark.org>
Fri, 27 Oct 2017 11:51:40 +0000 (11:51 +0000)
commita129dc8bcf535f2d5ba0f80a7280d16c88e69e95
treee826f49ecbb280861e82cd35ac3445be2c9a294e
parented00729d34b5802b51cf4bf8168a5be78d56e62a
[LLVM-C] Publicly expose getters of MetadataType, TokenType

Patch by Robert Widmann.

Expose getters for MetadataType and TokenType publicly in the C API.
Discovered a need for these while trying to wrap the intrinsics API.

Differential Revision: https://reviews.llvm.org/D38809

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316762 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/Core.h
lib/IR/Core.cpp
tools/llvm-c-test/echo.cpp