[PATCH] Let Python cindex see argument types of calls though function pointers
Magnus Reftel
magnus.reftel at gmail.com
Thu Apr 18 07:46:25 PDT 2013
--- /var/tmp/llvm/llvm-base/tools/clang/bindings/python/clang/cindex.py
2013-04-11 05:30:10.370611994 +0200
+++ clang/cindex.py 2013-04-18 16:40:35.561119083 +0200
@@ -1497,7 +1497,7 @@
return result
- assert self.kind == TypeKind.FUNCTIONPROTO
+ assert conf.lib.clang_getNumArgTypes(self) != -1
return ArgumentsIterator(self)
@property
More information about the cfe-commits
mailing list