[PATCH] D32389: [libclang] Expose some target information via the C API.
Alex Lorenz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 24 06:23:26 PDT 2017
arphaman added a comment.
Maybe it would be better to introduce a `CXTargetInfo` type, and change the API to be:
clang_getTranslationUnitTargetInfo
clang_TargetInfo_getTriple
clang_TargetInfo_getPointerWidth
?
This way the `TargetInfo` functions will be cleanly separated, so we can extend the API easier in the future.
Repository:
rL LLVM
https://reviews.llvm.org/D32389
More information about the cfe-commits
mailing list