[clang] Add retrieval of unary operator spelling and python bindings (PR #219983)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 17 01:13:59 PDT 2026
================
@@ -6916,35 +6916,35 @@ clang_getCursorBinaryOperatorKind(CXCursor cursor);
*/
enum CXUnaryOperatorKind {
/** This value describes cursors which are not unary operators. */
- CXUnaryOperator_Invalid,
+ CXUnaryOperator_Invalid = 0,
----------------
ItsRumo wrote:
No, all tests pass even without explicitly marking the enum values. I added this because of this comment https://reviews.llvm.org/D10833#305157
https://github.com/llvm/llvm-project/pull/219983
More information about the cfe-commits
mailing list