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

via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 21 01:52:31 PDT 2026


================
@@ -2474,6 +2487,38 @@ def is_assignment(self):
     Comma = 33
 
 
+class UnaryOperator(BaseEnumeration):
+    """
+    Describes the UnaryOperator of a declaration
+    """
+
+    def __nonzero__(self):
----------------
ItsRumo wrote:

I agree that it is better left out of this PR to keep it consistent with the rest. Thanks for the remark and guidance

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


More information about the cfe-commits mailing list