[clang] [libclang/python] Return actual C types from libclang functions instead of Python bool (PR #166446)

2025-11-07 Thread Thomas Applencourt via cfe-commits
TApplencourt wrote: Thanks a lot guys for the review and guidance. Hopefully this will make adding new API call in the future easier (as it's more systematic) > I took the liberty to improve the title. I hope you don't mind too much. Oh not at all. Your tittle is far better! https://github.c

[clang] [libclang/python] Returning library functions as integer instead of bool (PR #166446)

2025-11-06 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt edited https://github.com/llvm/llvm-project/pull/166446 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libclang/python] Returning library functions as integer instead of bool (PR #166446)

2025-11-06 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt edited https://github.com/llvm/llvm-project/pull/166446 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libclang/python] Returning library functions as integer instead of bool (PR #166446)

2025-11-06 Thread Thomas Applencourt via cfe-commits
TApplencourt wrote: Thanks. Updated the PR descriptions (reused more of the nice phrasing that @DeinAlptraum did on the issue) https://github.com/llvm/llvm-project/pull/166446 ___ cfe-commits mailing list [email protected] https://lists.llvm

[clang] [libclang/python] Returning library functions as integer instead of bool (PR #166446)

2025-11-06 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt edited https://github.com/llvm/llvm-project/pull/166446 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Returning library functions as integer instead of bool (PR #166446)

2025-11-04 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt updated https://github.com/llvm/llvm-project/pull/166446 >From 2212bb2d182862a51787826a496b6f9faea82939 Mon Sep 17 00:00:00 2001 From: tapplencourt Date: Tue, 4 Nov 2025 20:58:54 + Subject: [PATCH 1/3] run black --- clang/bindings/python/clang/cindex.py | 1

[clang] Returning library functions as integer instead of bool (PR #166446)

2025-11-04 Thread Thomas Applencourt via cfe-commits
TApplencourt wrote: I did manually check if functions where returning cint or cuint, but I more likely missed a few. Please let me know if it's worth a line in the release notes. https://github.com/llvm/llvm-project/pull/166446 ___ cfe-commits ma

[clang] Returning library functions as integer instead of bool (PR #166446)

2025-11-04 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt created https://github.com/llvm/llvm-project/pull/166446 Fix #164915 >From 2212bb2d182862a51787826a496b6f9faea82939 Mon Sep 17 00:00:00 2001 From: tapplencourt Date: Tue, 4 Nov 2025 20:58:54 + Subject: [PATCH 1/2] run black --- clang/bindings/python/clang/

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

2025-10-30 Thread Thomas Applencourt via cfe-commits
TApplencourt wrote: Thanks! Edited. https://github.com/llvm/llvm-project/pull/162882 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-10-30 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt edited https://github.com/llvm/llvm-project/pull/162882 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-10-30 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt edited https://github.com/llvm/llvm-project/pull/162882 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-10-30 Thread Thomas Applencourt via cfe-commits
@@ -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),

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

2025-10-30 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt updated https://github.com/llvm/llvm-project/pull/162882 >From 674bdfb5d0160bf637cce069fdf03c465c81b287 Mon Sep 17 00:00:00 2001 From: tapplencourt Date: Fri, 10 Oct 2025 16:39:51 + Subject: [PATCH 01/11] Add isFunctionInlined support in Python Binding ---

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

2025-10-30 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt updated https://github.com/llvm/llvm-project/pull/162882 >From 674bdfb5d0160bf637cce069fdf03c465c81b287 Mon Sep 17 00:00:00 2001 From: tapplencourt Date: Fri, 10 Oct 2025 16:39:51 + Subject: [PATCH 01/10] Add isFunctionInlined support in Python Binding ---

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

2025-10-27 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt edited https://github.com/llvm/llvm-project/pull/162882 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-10-27 Thread Thomas Applencourt via cfe-commits
@@ -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),

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

2025-10-27 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt edited https://github.com/llvm/llvm-project/pull/162882 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-10-27 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt edited https://github.com/llvm/llvm-project/pull/162882 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-10-27 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt edited https://github.com/llvm/llvm-project/pull/162882 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-10-27 Thread Thomas Applencourt via cfe-commits
@@ -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),

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

2025-10-23 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt edited https://github.com/llvm/llvm-project/pull/162882 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2025-10-23 Thread Thomas Applencourt via cfe-commits
@@ -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),

[clang] [clang] Fix Typo on cindex.py (PR #92945)

2025-10-21 Thread Thomas Applencourt via cfe-commits
TApplencourt wrote: I think the email have been fixed since May 2024. If not feel free to close it. https://github.com/llvm/llvm-project/pull/92945 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listin

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

2025-10-18 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt updated https://github.com/llvm/llvm-project/pull/162882 >From 674bdfb5d0160bf637cce069fdf03c465c81b287 Mon Sep 17 00:00:00 2001 From: tapplencourt Date: Fri, 10 Oct 2025 16:39:51 + Subject: [PATCH 1/2] Add isFunctionInlined support in Python Binding --- cl

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

2025-10-18 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt updated https://github.com/llvm/llvm-project/pull/162882 >From 674bdfb5d0160bf637cce069fdf03c465c81b287 Mon Sep 17 00:00:00 2001 From: tapplencourt Date: Fri, 10 Oct 2025 16:39:51 + Subject: [PATCH 1/2] Add isFunctionInlined support in Python Binding --- cl

[clang] [clang] Fix Typo on cindex.py (PR #92945)

2024-05-21 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt edited https://github.com/llvm/llvm-project/pull/92945 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix Typo on cindex.py (PR #92945)

2024-05-21 Thread Thomas Applencourt via cfe-commits
https://github.com/TApplencourt created https://github.com/llvm/llvm-project/pull/92945 None >From b42fda1b00f2f5ca8ae312cf0d372e04582c5e4b Mon Sep 17 00:00:00 2001 From: Thomas Applencourt Date: Tue, 21 May 2024 13:00:37 -0500 Subject: [PATCH] Fix Typo on cindex.py --- clang/bindings/python