Skip to content

Commit

Permalink
[libclang] Fix symbol version of getBinaryOpcode functions (llvm#10…
Browse files Browse the repository at this point in the history
…1820)

llvm#98489 resurrected an [old patch](https://reviews.llvm.org/D10833) that
was adding new libclang functions. That PR got merged with old `LLVM_13`
symbol versions for new functions. This patch fixes this oversight.
  • Loading branch information
DeinAlptraum authored and kstoimenov committed Aug 15, 2024
1 parent 7d778eb commit 04095b5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions clang/tools/libclang/libclang.map
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ LLVM_13 {
clang_Cursor_Evaluate;
clang_Cursor_getArgument;
clang_Cursor_getBriefCommentText;
clang_Cursor_getBinaryOpcode;
clang_Cursor_getBinaryOpcodeStr;
clang_Cursor_getCXXManglings;
clang_Cursor_getCommentRange;
clang_Cursor_getMangling;
Expand Down Expand Up @@ -430,6 +428,12 @@ LLVM_17 {
clang_getCursorUnaryOperatorKind;
};

LLVM_19 {
global:
clang_Cursor_getBinaryOpcode;
clang_Cursor_getBinaryOpcodeStr;
};

# Example of how to add a new symbol version entry. If you do add a new symbol
# version, please update the example to depend on the version you added.
# LLVM_X {
Expand Down

0 comments on commit 04095b5

Please sign in to comment.