@@ -3882,12 +3882,16 @@ enum CX_BinaryOperatorKind {
38823882
38833883/**
38843884 * \brief Returns the operator code for the binary operator.
3885+ *
3886+ * @deprecated: use clang_getCursorBinaryOperatorKind instead.
38853887 */
38863888CINDEX_LINKAGE enum CX_BinaryOperatorKind
38873889clang_Cursor_getBinaryOpcode (CXCursor C );
38883890
38893891/**
38903892 * \brief Returns a string containing the spelling of the binary operator.
3893+ *
3894+ * @deprecated: use clang_getBinaryOperatorKindSpelling instead
38913895 */
38923896CINDEX_LINKAGE CXString
38933897clang_Cursor_getBinaryOpcodeStr (enum CX_BinaryOperatorKind Op );
@@ -6683,73 +6687,74 @@ CINDEX_LINKAGE unsigned clang_visitCXXMethods(CXType T, CXFieldVisitor visitor,
66836687 */
66846688enum CXBinaryOperatorKind {
66856689 /** This value describes cursors which are not binary operators. */
6686- CXBinaryOperator_Invalid ,
6690+ CXBinaryOperator_Invalid = 0 ,
66876691 /** C++ Pointer - to - member operator. */
6688- CXBinaryOperator_PtrMemD ,
6692+ CXBinaryOperator_PtrMemD = 1 ,
66896693 /** C++ Pointer - to - member operator. */
6690- CXBinaryOperator_PtrMemI ,
6694+ CXBinaryOperator_PtrMemI = 2 ,
66916695 /** Multiplication operator. */
6692- CXBinaryOperator_Mul ,
6696+ CXBinaryOperator_Mul = 3 ,
66936697 /** Division operator. */
6694- CXBinaryOperator_Div ,
6698+ CXBinaryOperator_Div = 4 ,
66956699 /** Remainder operator. */
6696- CXBinaryOperator_Rem ,
6700+ CXBinaryOperator_Rem = 5 ,
66976701 /** Addition operator. */
6698- CXBinaryOperator_Add ,
6702+ CXBinaryOperator_Add = 6 ,
66996703 /** Subtraction operator. */
6700- CXBinaryOperator_Sub ,
6704+ CXBinaryOperator_Sub = 7 ,
67016705 /** Bitwise shift left operator. */
6702- CXBinaryOperator_Shl ,
6706+ CXBinaryOperator_Shl = 8 ,
67036707 /** Bitwise shift right operator. */
6704- CXBinaryOperator_Shr ,
6708+ CXBinaryOperator_Shr = 9 ,
67056709 /** C++ three-way comparison (spaceship) operator. */
6706- CXBinaryOperator_Cmp ,
6710+ CXBinaryOperator_Cmp = 10 ,
67076711 /** Less than operator. */
6708- CXBinaryOperator_LT ,
6712+ CXBinaryOperator_LT = 11 ,
67096713 /** Greater than operator. */
6710- CXBinaryOperator_GT ,
6714+ CXBinaryOperator_GT = 12 ,
67116715 /** Less or equal operator. */
6712- CXBinaryOperator_LE ,
6716+ CXBinaryOperator_LE = 13 ,
67136717 /** Greater or equal operator. */
6714- CXBinaryOperator_GE ,
6718+ CXBinaryOperator_GE = 14 ,
67156719 /** Equal operator. */
6716- CXBinaryOperator_EQ ,
6720+ CXBinaryOperator_EQ = 15 ,
67176721 /** Not equal operator. */
6718- CXBinaryOperator_NE ,
6722+ CXBinaryOperator_NE = 16 ,
67196723 /** Bitwise AND operator. */
6720- CXBinaryOperator_And ,
6724+ CXBinaryOperator_And = 17 ,
67216725 /** Bitwise XOR operator. */
6722- CXBinaryOperator_Xor ,
6726+ CXBinaryOperator_Xor = 18 ,
67236727 /** Bitwise OR operator. */
6724- CXBinaryOperator_Or ,
6728+ CXBinaryOperator_Or = 19 ,
67256729 /** Logical AND operator. */
6726- CXBinaryOperator_LAnd ,
6730+ CXBinaryOperator_LAnd = 20 ,
67276731 /** Logical OR operator. */
6728- CXBinaryOperator_LOr ,
6732+ CXBinaryOperator_LOr = 21 ,
67296733 /** Assignment operator. */
6730- CXBinaryOperator_Assign ,
6734+ CXBinaryOperator_Assign = 22 ,
67316735 /** Multiplication assignment operator. */
6732- CXBinaryOperator_MulAssign ,
6736+ CXBinaryOperator_MulAssign = 23 ,
67336737 /** Division assignment operator. */
6734- CXBinaryOperator_DivAssign ,
6738+ CXBinaryOperator_DivAssign = 24 ,
67356739 /** Remainder assignment operator. */
6736- CXBinaryOperator_RemAssign ,
6740+ CXBinaryOperator_RemAssign = 25 ,
67376741 /** Addition assignment operator. */
6738- CXBinaryOperator_AddAssign ,
6742+ CXBinaryOperator_AddAssign = 26 ,
67396743 /** Subtraction assignment operator. */
6740- CXBinaryOperator_SubAssign ,
6744+ CXBinaryOperator_SubAssign = 27 ,
67416745 /** Bitwise shift left assignment operator. */
6742- CXBinaryOperator_ShlAssign ,
6746+ CXBinaryOperator_ShlAssign = 28 ,
67436747 /** Bitwise shift right assignment operator. */
6744- CXBinaryOperator_ShrAssign ,
6748+ CXBinaryOperator_ShrAssign = 29 ,
67456749 /** Bitwise AND assignment operator. */
6746- CXBinaryOperator_AndAssign ,
6750+ CXBinaryOperator_AndAssign = 30 ,
67476751 /** Bitwise XOR assignment operator. */
6748- CXBinaryOperator_XorAssign ,
6752+ CXBinaryOperator_XorAssign = 31 ,
67496753 /** Bitwise OR assignment operator. */
6750- CXBinaryOperator_OrAssign ,
6754+ CXBinaryOperator_OrAssign = 32 ,
67516755 /** Comma operator. */
6752- CXBinaryOperator_Comma
6756+ CXBinaryOperator_Comma = 33 ,
6757+ CXBinaryOperator_Last = CXBinaryOperator_Comma
67536758};
67546759
67556760/**
0 commit comments