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 6edd33c commit 484b385Copy full SHA for 484b385
clang/bindings/python/tests/cindex/test_cursor.py
@@ -784,6 +784,11 @@ def test_storage_class(self):
784
cursor = get_cursor(tu, "reg")
785
self.assertEqual(cursor.storage_class, StorageClass.REGISTER)
786
787
+ def test_function_inlined(self):
788
+ tu = get_tu("inline void foo(void);")
789
+ cursor = get_cursor(tu, "foo")
790
+ self.assertEqual(cursor.is_function_inlined(), True)
791
+
792
def test_availability(self):
793
tu = get_tu("class A { A(A const&) = delete; };", lang="cpp")
794
0 commit comments