libclang: Expose CXCursor_LinkageSpec

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

0001-libclang-Expose-CXCursor_LinkageSpec.patch (1013 Bytes)