@@ -3839,59 +3839,6 @@ enum CX_StorageClass {
38393839 CX_SC_Register
38403840};
38413841
3842- /**
3843- * Represents a specific kind of binary operator which can appear at a cursor.
3844- */
3845- enum CX_BinaryOperatorKind {
3846- CX_BO_Invalid = 0 ,
3847- CX_BO_PtrMemD = 1 ,
3848- CX_BO_PtrMemI = 2 ,
3849- CX_BO_Mul = 3 ,
3850- CX_BO_Div = 4 ,
3851- CX_BO_Rem = 5 ,
3852- CX_BO_Add = 6 ,
3853- CX_BO_Sub = 7 ,
3854- CX_BO_Shl = 8 ,
3855- CX_BO_Shr = 9 ,
3856- CX_BO_Cmp = 10 ,
3857- CX_BO_LT = 11 ,
3858- CX_BO_GT = 12 ,
3859- CX_BO_LE = 13 ,
3860- CX_BO_GE = 14 ,
3861- CX_BO_EQ = 15 ,
3862- CX_BO_NE = 16 ,
3863- CX_BO_And = 17 ,
3864- CX_BO_Xor = 18 ,
3865- CX_BO_Or = 19 ,
3866- CX_BO_LAnd = 20 ,
3867- CX_BO_LOr = 21 ,
3868- CX_BO_Assign = 22 ,
3869- CX_BO_MulAssign = 23 ,
3870- CX_BO_DivAssign = 24 ,
3871- CX_BO_RemAssign = 25 ,
3872- CX_BO_AddAssign = 26 ,
3873- CX_BO_SubAssign = 27 ,
3874- CX_BO_ShlAssign = 28 ,
3875- CX_BO_ShrAssign = 29 ,
3876- CX_BO_AndAssign = 30 ,
3877- CX_BO_XorAssign = 31 ,
3878- CX_BO_OrAssign = 32 ,
3879- CX_BO_Comma = 33 ,
3880- CX_BO_LAST = CX_BO_Comma
3881- };
3882-
3883- /**
3884- * \brief Returns the operator code for the binary operator.
3885- */
3886- CINDEX_LINKAGE enum CX_BinaryOperatorKind
3887- clang_Cursor_getBinaryOpcode (CXCursor C );
3888-
3889- /**
3890- * \brief Returns a string containing the spelling of the binary operator.
3891- */
3892- CINDEX_LINKAGE CXString
3893- clang_Cursor_getBinaryOpcodeStr (enum CX_BinaryOperatorKind Op );
3894-
38953842/**
38963843 * Returns the storage class for a function or variable declaration.
38973844 *
@@ -6671,73 +6618,74 @@ CINDEX_LINKAGE unsigned clang_visitCXXMethods(CXType T, CXFieldVisitor visitor,
66716618 */
66726619enum CXBinaryOperatorKind {
66736620 /** This value describes cursors which are not binary operators. */
6674- CXBinaryOperator_Invalid ,
6621+ CXBinaryOperator_Invalid = 0 ,
66756622 /** C++ Pointer - to - member operator. */
6676- CXBinaryOperator_PtrMemD ,
6623+ CXBinaryOperator_PtrMemD = 1 ,
66776624 /** C++ Pointer - to - member operator. */
6678- CXBinaryOperator_PtrMemI ,
6625+ CXBinaryOperator_PtrMemI = 2 ,
66796626 /** Multiplication operator. */
6680- CXBinaryOperator_Mul ,
6627+ CXBinaryOperator_Mul = 3 ,
66816628 /** Division operator. */
6682- CXBinaryOperator_Div ,
6629+ CXBinaryOperator_Div = 4 ,
66836630 /** Remainder operator. */
6684- CXBinaryOperator_Rem ,
6631+ CXBinaryOperator_Rem = 5 ,
66856632 /** Addition operator. */
6686- CXBinaryOperator_Add ,
6633+ CXBinaryOperator_Add = 6 ,
66876634 /** Subtraction operator. */
6688- CXBinaryOperator_Sub ,
6635+ CXBinaryOperator_Sub = 7 ,
66896636 /** Bitwise shift left operator. */
6690- CXBinaryOperator_Shl ,
6637+ CXBinaryOperator_Shl = 8 ,
66916638 /** Bitwise shift right operator. */
6692- CXBinaryOperator_Shr ,
6639+ CXBinaryOperator_Shr = 9 ,
66936640 /** C++ three-way comparison (spaceship) operator. */
6694- CXBinaryOperator_Cmp ,
6641+ CXBinaryOperator_Cmp = 10 ,
66956642 /** Less than operator. */
6696- CXBinaryOperator_LT ,
6643+ CXBinaryOperator_LT = 11 ,
66976644 /** Greater than operator. */
6698- CXBinaryOperator_GT ,
6645+ CXBinaryOperator_GT = 12 ,
66996646 /** Less or equal operator. */
6700- CXBinaryOperator_LE ,
6647+ CXBinaryOperator_LE = 13 ,
67016648 /** Greater or equal operator. */
6702- CXBinaryOperator_GE ,
6649+ CXBinaryOperator_GE = 14 ,
67036650 /** Equal operator. */
6704- CXBinaryOperator_EQ ,
6651+ CXBinaryOperator_EQ = 15 ,
67056652 /** Not equal operator. */
6706- CXBinaryOperator_NE ,
6653+ CXBinaryOperator_NE = 16 ,
67076654 /** Bitwise AND operator. */
6708- CXBinaryOperator_And ,
6655+ CXBinaryOperator_And = 17 ,
67096656 /** Bitwise XOR operator. */
6710- CXBinaryOperator_Xor ,
6657+ CXBinaryOperator_Xor = 18 ,
67116658 /** Bitwise OR operator. */
6712- CXBinaryOperator_Or ,
6659+ CXBinaryOperator_Or = 19 ,
67136660 /** Logical AND operator. */
6714- CXBinaryOperator_LAnd ,
6661+ CXBinaryOperator_LAnd = 20 ,
67156662 /** Logical OR operator. */
6716- CXBinaryOperator_LOr ,
6663+ CXBinaryOperator_LOr = 21 ,
67176664 /** Assignment operator. */
6718- CXBinaryOperator_Assign ,
6665+ CXBinaryOperator_Assign = 22 ,
67196666 /** Multiplication assignment operator. */
6720- CXBinaryOperator_MulAssign ,
6667+ CXBinaryOperator_MulAssign = 23 ,
67216668 /** Division assignment operator. */
6722- CXBinaryOperator_DivAssign ,
6669+ CXBinaryOperator_DivAssign = 24 ,
67236670 /** Remainder assignment operator. */
6724- CXBinaryOperator_RemAssign ,
6671+ CXBinaryOperator_RemAssign = 25 ,
67256672 /** Addition assignment operator. */
6726- CXBinaryOperator_AddAssign ,
6673+ CXBinaryOperator_AddAssign = 26 ,
67276674 /** Subtraction assignment operator. */
6728- CXBinaryOperator_SubAssign ,
6675+ CXBinaryOperator_SubAssign = 27 ,
67296676 /** Bitwise shift left assignment operator. */
6730- CXBinaryOperator_ShlAssign ,
6677+ CXBinaryOperator_ShlAssign = 28 ,
67316678 /** Bitwise shift right assignment operator. */
6732- CXBinaryOperator_ShrAssign ,
6679+ CXBinaryOperator_ShrAssign = 29 ,
67336680 /** Bitwise AND assignment operator. */
6734- CXBinaryOperator_AndAssign ,
6681+ CXBinaryOperator_AndAssign = 30 ,
67356682 /** Bitwise XOR assignment operator. */
6736- CXBinaryOperator_XorAssign ,
6683+ CXBinaryOperator_XorAssign = 31 ,
67376684 /** Bitwise OR assignment operator. */
6738- CXBinaryOperator_OrAssign ,
6685+ CXBinaryOperator_OrAssign = 32 ,
67396686 /** Comma operator. */
6740- CXBinaryOperator_Comma
6687+ CXBinaryOperator_Comma = 33 ,
6688+ CXBinaryOperator_Last = CXBinaryOperator_Comma
67416689};
67426690
67436691/**
0 commit comments