[clang] [cindex] Add support for calling getFullyQualifiedName to the Python binding. (PR #135420)
Jannick Kremer via cfe-commits
cfe-commits at lists.llvm.org
Sat Apr 12 23:23:56 PDT 2025
================
@@ -2593,6 +2593,19 @@ def get_canonical(self):
"""
return Type.from_result(conf.lib.clang_getCanonicalType(self), (self,))
+ def get_fully_qualified_name(self, policy, with_global_ns_prefix=False):
+ """
+ Get the fully qualified name for a type.
+
+ This includes full qualification of all template parameters.
+
+ policy - This PrintingPolicy can further refine the type formatting
+ with_global_ns_prefix - If true, function will prepend a '::' to qualified names
----------------
DeinAlptraum wrote:
```suggestion
with_global_ns_prefix - If true, prepend '::' to qualified names
```
Grammar
https://github.com/llvm/llvm-project/pull/135420
More information about the cfe-commits
mailing list