[clang] [libclang/python] Add a few things to the python api (PR #120590)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 1 05:02:46 PST 2025
================
@@ -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 "base template" should be replaced with the Standard term "primary template".
https://github.com/llvm/llvm-project/pull/120590
More information about the cfe-commits
mailing list