================
@@ -4308,6 +4315,7 @@ def set_property(self, property, value):
     ("clang_Cursor_isAnonymous", [Cursor], bool),
     ("clang_Cursor_isAnonymousRecordDecl", [Cursor], bool),
     ("clang_Cursor_isBitField", [Cursor], bool),
+    ("clang_Cursor_isFunctionInlined", [Cursor], bool),
----------------
Endilll wrote:

```suggestion
    ("clang_Cursor_isFunctionInlined", [Cursor], c_uint),
```
Answering the question from the PR description, `c_uint` reflects C function 
signature. I took a look at ctypes implementation, but I'm still not sure how 
`bool` is handled. If it's 
https://github.com/python/cpython/blob/b3a38438d83245e52dff80f348c7fde539333cea/Modules/_ctypes/cfield.c#L713,
 then I'm not particularly happy about `unsigned` read as wider `long long`.

https://github.com/llvm/llvm-project/pull/162882
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to