[cfe-dev] libclang: Expose CXCursor_LinkageSpec
Reece Dunn
msclrhd at googlemail.com
Mon Jul 21 09:18:36 PDT 2014
Hi,
There is a bug in libclang, where the code:
extern "C" void f();
produces the AST:
UnexposedDecl
FunctionDecl
instead of:
LinkageSpec
FunctionDecl
This is because CXCursor_LinkageSpec is not correctly exposed. The
attached patch (based on the latest commit of the master branch) fixes
this issue.
Thanks,
- Reece H. Dunn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libclang-Expose-CXCursor_LinkageSpec.patch
Type: text/x-diff
Size: 1013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140721/d9b206cc/attachment.patch>
More information about the cfe-dev
mailing list