[clang] Add retrieval of unary operator spelling and python bindings (PR #219983)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 21 00:36:46 PDT 2026
================
@@ -2474,6 +2484,36 @@ def is_assignment(self):
Comma = 33
+class UnaryOperator(BaseEnumeration):
+ """A UnaryOperator describes an expression's of unary operator kind."""
----------------
Endilll wrote:
> what do you think about using the same docstring as the C enum ("Describes the kind of unary operators.")?
SGTM
https://github.com/llvm/llvm-project/pull/219983
More information about the cfe-commits
mailing list