[PATCH] [libclang/python] Add bindings for children of diagnostics

Hanson via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 29 20:47:49 PST 2016

This exposes the Clang API bindings `clang_getChildDiagnostics` (which
returns a `CXDiagnosticSet`) and `clang_getNumDiagnosticsInSet` /
`clang_getDiagnosticInSet` (to traverse the `CXDiagnosticSet`), and adds a
helper `children` property in the Python `Diagnostic` wrapper.

Also, this adds the missing `OVERLOAD_CANDIDATE` (700) cursor type.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160229/1a7f8fae/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: child_diagnostics.patch
Type: application/octet-stream
Size: 3609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160229/1a7f8fae/attachment.obj>

More information about the cfe-commits mailing list