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

MineGame159 via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 8 10:23:37 PDT 2023


MineGame159 updated this revision to Diff 529663.
MineGame159 added a comment.

I have added the new functions into the file and now it successfully compiles the test but fails when running it.

Also checked and made sure that `CINDEX_VERSION_MINOR` was already incremented in LLVM 17.
Another thing I am not sure is which naming convention I should be using. Some functions in the C api use `clang_getCursorBinaryOperatorKind` and others `clang_Cursor_getBinaryOperatorKind`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150910/new/

https://reviews.llvm.org/D150910

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang-c/Index.h
  clang/include/clang/AST/OperationKinds.def
  clang/tools/libclang/CIndex.cpp
  clang/tools/libclang/libclang.map
  clang/unittests/libclang/LibclangTest.cpp

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


More information about the cfe-commits mailing list