Skip to content

Commit 4a211ac

Browse files
DeinAlptraumtru
authored andcommitted
[libclang] Fix symbol version of getBinaryOpcode functions (llvm#101820)
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. (cherry picked from commit 2bae7ae)
1 parent 51b4c66 commit 4a211ac

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

clang/tools/libclang/libclang.map

+6-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ LLVM_13 {
5454
clang_Cursor_Evaluate;
5555
clang_Cursor_getArgument;
5656
clang_Cursor_getBriefCommentText;
57-
clang_Cursor_getBinaryOpcode;
58-
clang_Cursor_getBinaryOpcodeStr;
5957
clang_Cursor_getCXXManglings;
6058
clang_Cursor_getCommentRange;
6159
clang_Cursor_getMangling;
@@ -430,6 +428,12 @@ LLVM_17 {
430428
clang_getCursorUnaryOperatorKind;
431429
};
432430

431+
LLVM_19 {
432+
global:
433+
clang_Cursor_getBinaryOpcode;
434+
clang_Cursor_getBinaryOpcodeStr;
435+
};
436+
433437
# Example of how to add a new symbol version entry. If you do add a new symbol
434438
# version, please update the example to depend on the version you added.
435439
# LLVM_X {

0 commit comments

Comments
 (0)