KyleMayes / clang-sys

Rust bindings for libclang.
Apache License 2.0
128 stars 65 forks source link

No `clang_getToken` binding in clang-sys #139

Closed yingmanwumen closed 2 years ago

yingmanwumen commented 2 years ago

I am a beginner of LLVM, and writing some toy code by following C++ code. There is a C interface in libclang named clang_getToken, and the prototype of it is

CXToken* clang_getToken(CXTranslationUnit TU, CXSourceLocation | Location);

But I didn't find the corresponding binding in clang-sys. Is that a neglect or a deliberation? Thanks.

KyleMayes commented 2 years ago

Missed this function by mistake. Added in v1.3.1.