[cfe-dev] libclang help?
Mark Sibly via cfe-dev
cfe-dev at lists.llvm.org
Wed Nov 2 15:03:03 PDT 2016
Hi,
Not sure if I'm in the right place, but I'm after some help with 'libclang'.
I am using it to generate C header file 'wrappers' for a 3rd party
language, and it was working really well until I installed msvc 2015 the
other day, after which it started producing slightly different code. Prior
to that, I only had mingw64 installed so I am guessing that libclang has
switched from using mingw system headers to msvc headers. Does this sound
right? Is there any way to get libclang to go back to using mingw headers?
Also, I'm having a minor problem with clang_isConstQualifiedType with
function pointers parameters. It works fine with ordinary function
parameters, but always seems to return 0 for function pointer parameters.
I've got around it for now by checking whether clang_typeSpelling starts
with "const " but is there a better way to do this?
Again, apologies if this is the wrong newsgroup - is there a more suitable
one perhaps?
Thanks in advance for any advice.
Bye,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20161103/8d755fb0/attachment.html>
More information about the cfe-dev
mailing list