https://github.com/Endilll closed
https://github.com/llvm/llvm-project/pull/140496
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Endilll wrote:
Hmm, so the reason we have `Cursor.from_source_location` is that SourceLocation
doesn't hold a reference to TU. Yeah, I guess we don't need this.
https://github.com/llvm/llvm-project/pull/140496
___
cfe-commits mailing list
cfe-commits@
https://github.com/DeinAlptraum approved this pull request.
LGTM, but are you sure there is a need for this API? This just seems like a
slighly less convenient version of `TranslationUnit.cursor`.
> This should complete the list of things Cursor can be made from.
There is also a `cursor` prope
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 HEAD~1...HEAD clang/bindings/python/clang/cindex.py
clang/bindings/python/tests/cindex/tes
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Vlad Serebrennikov (Endilll)
Changes
This should complete the list of things `Cursor` can be made from.
---
Full diff: https://github.com/llvm/llvm-project/pull/140496.diff
3 Files Affected:
- (modified) clang/bindings/python/clang/cind
https://github.com/Endilll created
https://github.com/llvm/llvm-project/pull/140496
This should complete the list of things `Cursor` can be made from.
>From 2fa8240df89d195c25da9d0ee52101830ae41677 Mon Sep 17 00:00:00 2001
From: Vlad Serebrennikov
Date: Mon, 19 May 2025 09:20:55 +0300
Subject: