This allows me to stop hacking around the fact that template arguments for type aliases aren't inspectionable.
Updated to use LLVM's coding style (with the star to the right), and also to reflect that template argument packs are now inspectionable.
LGTM, thanks! Committed in r287024.
This breaks functionality of clang_getNumTemplateArguments/clang_getTemplateArgumentAsType in some case.
See my patch that fixes it: https://reviews.llvm.org/D27384
@skalinichev Yeah, I noticed that and published https://reviews.llvm.org/D26907 a while ago, it hasn't been accepted yet though.
I'm happy with any of both patches to be fair.
Ah, sorry I didn't notice that review, let's keep to your version of the patch then.