================ @@ -1820,6 +1820,18 @@ def availability(self): return AvailabilityKind.from_id(self._availability) + @property + def binary_operator(self): + """ + Retrieves the opcode if this cursor points to a binary operator + :return: + """ + + if not hasattr(self, "_binopcode"): + self._binopcode = conf.lib.clang_Cursor_getBinaryOpcode(self) ---------------- thomaswucher wrote:
Thanks for your review and explanation! I've just pushed a new version, addressing both issues. https://github.com/llvm/llvm-project/pull/98489 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits