[PATCH] D150910: [libclang] Add CXBinaryOperatorKind and CXUnaryOperatorKind (implements 29138)

MineGame159 via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 18 14:30:51 PDT 2023


MineGame159 created this revision.
MineGame159 added reviewers: clang, clang-c.
MineGame159 added projects: clang, clang-c.
Herald added a subscriber: arphaman.
Herald added a project: All.
MineGame159 requested review of this revision.
Herald added a subscriber: cfe-commits.

Adds 2 new functions to the C libclang api for retrieving operator kinds for binary and unary operators from cursors. Also adds 2 functions for retrieving the spelling of the new enums. This differential implements #29138 <https://github.com/llvm/llvm-project/issues/29138>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150910

Files:
  clang/include/clang-c/Index.h
  clang/include/clang/AST/OperationKinds.def
  clang/tools/libclang/CIndex.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150910.523562.patch
Type: text/x-patch
Size: 10666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230518/cc6d1c9b/attachment-0001.bin>


More information about the cfe-commits mailing list