<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello:<div class=""><br class=""></div><div class="">I am using libclang (via the Python binding) to parse an Objective-C header file and generate a new Swift file. On macOS 10.13.6 with Xcode 9.4.1, the script works perfectly.</div><div class=""><br class=""></div><div class="">On Mojave, with Xcode 10, the script can’t find the return values of Objective-C methods any longer because they no longer appear to be children of the cursor that represents each method. The result_type of each cursor is also INVALID, so I’m struggling to see how I can pull the return type of an ObjC method.</div><div class=""><br class=""></div><div class="">Has something changed in Clang 10.0.0.0 that would cause this? For a very detailed writeup, with examples, please see: <a href="https://stackoverflow.com/questions/52640399/libclang-python-binding-get-objc-method-return-value" class="">https://stackoverflow.com/questions/52640399/libclang-python-binding-get-objc-method-return-value</a></div><div class=""><br class=""></div><div class="">I’m sorry to spam the list, but expertise with Clang is rare and nobody elsewhere seems to have any ideas. Thank you for your help.</div><div class=""><br class=""></div><div class="">-Bryan</div><div class=""><br class=""></div></body></html>