[clang] [libclang/python] Add isFunctionInlined support (PR #162882)

Thomas Applencourt via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 27 14:28:42 PDT 2025


================
@@ -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),
----------------
TApplencourt wrote:

Oh 
>The existing signatures that specify bool are out of scope of this PR.

"Currently" existing. I see. Ok. I miss understand you.  No need to change the other signature, just the one for `inLine`.

It will be one less function to change in the https://github.com/llvm/llvm-project/issues/164915 I suppose. 

Will do and revert what I did in the first commit on this PR, and add back the `bool` cast. Hopefully 164915 will not decide on another bool conversion. 

https://github.com/llvm/llvm-project/pull/162882


More information about the cfe-commits mailing list