[clang] [libclang/python] Add a few things to the python api (PR #120590)

2025-03-01 Thread Vlad Serebrennikov via cfe-commits
Endilll wrote: > @Endilll since there hasn't been a reply in months, do you think it's > appropriate to close this? Our existing practice is that PRs remain to linger like this until someone picks them up. Closing it would be "we don't want this" answer, and it wouldn't be correct. That's ho

[clang] [libclang/python] Add a few things to the python api (PR #120590)

2025-03-01 Thread Jannick Kremer via cfe-commits
DeinAlptraum wrote: Okay, thanks for the explanation & review :D I guess I might take this over if I have time then, which might be some time late in April (work is extremely busy) https://github.com/llvm/llvm-project/pull/120590 ___ cfe-commits mail

[clang] [libclang/python] Add a few things to the python api (PR #120590)

2025-03-01 Thread Vlad Serebrennikov via cfe-commits
https://github.com/Endilll edited https://github.com/llvm/llvm-project/pull/120590 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libclang/python] Add a few things to the python api (PR #120590)

2025-03-01 Thread Vlad Serebrennikov via cfe-commits
https://github.com/Endilll commented: Even though this PR is rather small, it is still a bunch of changes here and there. I'd prefer it to be split up into multiple focused PRs. https://github.com/llvm/llvm-project/pull/120590 ___ cfe-commits mailing

[clang] [libclang/python] Add a few things to the python api (PR #120590)

2025-03-01 Thread Vlad Serebrennikov via cfe-commits
@@ -2022,6 +2025,14 @@ def lexical_parent(self): return self._lexical_parent +@property +def specialized_template(self): +"""Return the base template that this cursor is a specialization of, if any.""" Endilll wrote: I wonder if "bas

[clang] [libclang/python] Add a few things to the python api (PR #120590)

2025-03-01 Thread Jannick Kremer via cfe-commits
DeinAlptraum wrote: @Endilll since there hasn't been a reply in months, do you think it's appropriate to close this? https://github.com/llvm/llvm-project/pull/120590 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bi

[clang] [libclang/python] Add a few things to the python api (PR #120590)

2024-12-19 Thread via cfe-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r 6f8afafd308d37d9abc4af0801dd5a4451c13718...1c68440616b555c376a3c227338f23ca80a2c777 clang

[clang] [libclang/python] Add a few things to the python api (PR #120590)

2024-12-19 Thread Jannick Kremer via cfe-commits
https://github.com/DeinAlptraum edited https://github.com/llvm/llvm-project/pull/120590 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libclang/python] Add a few things to the python api (PR #120590)

2024-12-19 Thread Jannick Kremer via cfe-commits
https://github.com/DeinAlptraum commented: Hi and thanks for the PR! To keep our history readable, please this up into smaller more focused PRs with an appropriate title ("Add a few things" won't be accepted ;)). This could be split into e.g. additions to the `File` interface, additions to the

[clang] [libclang/python] Add a few things to the python api (PR #120590)

2024-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Mathias Stearn (RedBeard0531) Changes I modified a local copy of cindex.py to add these when working on something and wanted to upstream the improvements. --- Full diff: https://github.com/llvm/llvm-project/pull/120590.diff 1 Files Affe

[clang] [libclang/python] Add a few things to the python api (PR #120590)

2024-12-19 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[clang] [libclang/python] Add a few things to the python api (PR #120590)

2024-12-19 Thread Mathias Stearn via cfe-commits
https://github.com/RedBeard0531 created https://github.com/llvm/llvm-project/pull/120590 I modified a local copy of cindex.py to add these when working on something and wanted to upstream the improvements. >From 1c68440616b555c376a3c227338f23ca80a2c777 Mon Sep 17 00:00:00 2001 From: Mathias St