KyleMayes / clang-sys

Rust bindings for libclang.
Apache License 2.0
138 stars 67 forks source link

Restore clang_CXXMethod_isVirtual() #155

Closed yutannihilation closed 1 year ago

yutannihilation commented 1 year ago

This pull request is an attempt to fix #154

As suggested in https://github.com/KyleMayes/clang-sys/issues/154#issuecomment-1418334604, I believe this line was just mistakenly deleted, considering isVirtual() still exists in the latest development version of Clang (ref). I have almost no knowledge both about clang itself and about clang-sys, but I'm creating this in the hope the fix would be this easy... (Sorry if I'm wrong)