[clang] Add retrieval of unary operator spelling and python bindings (PR #219983)

Jannick Kremer via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 19 07:06:03 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."""
----------------
DeinAlptraum wrote:

Grammatical error, I assume you meant something like

```suggestion
    """A UnaryOperator describes an expression of unary operator kind."""
```

https://github.com/llvm/llvm-project/pull/219983


More information about the cfe-commits mailing list