[PATCH] D32389: [libclang] Expose some target information via the C API.
Emilio Cobos Álvarez via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 22 08:42:17 PDT 2017
emilio created this revision.
emilio added a project: clang-c.
This allows users to query the target triple and target pointer width, which
would make me able to fix https://github.com/servo/rust-bindgen/issues/593 and
other related bugs in an elegant way (without having to manually parse the
target triple in the command line arguments).
Repository:
rL LLVM
https://reviews.llvm.org/D32389
Files:
clang/include/clang-c/Index.h
clang/test/Index/target-info.c
clang/tools/c-index-test/c-index-test.c
clang/tools/libclang/CIndex.cpp
clang/tools/libclang/libclang.exports
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32389.96285.patch
Type: text/x-patch
Size: 6601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170422/1b8f5790/attachment.bin>
More information about the cfe-commits
mailing list