We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91b9d79 commit 1300ae3Copy full SHA for 1300ae3
clang/bindings/python/clang/cindex.py
@@ -2369,6 +2369,14 @@ def is_function_inlined(self) -> bool:
2369
assert self.kind == TypeKind.FUNCTIONPROTO
2370
return bool(conf.lib.clang_Cursor_isFunctionInlined(self)) # type: ignore [no-any-return]
2371
2372
+ @cursor_null_guard
2373
+ def is_function_inlined(self) -> bool:
2374
+ """
2375
+ Check if the function is inlined
2376
2377
+ assert self.kind == TypeKind.FUNCTIONPROTO
2378
+ return bool(conf.lib.clang_Cursor_isFunctionInlined(self)) # type: ignore [no-any-return]
2379
+
2380
@cursor_null_guard
2381
def has_attrs(self) -> bool:
2382
"""
0 commit comments