standardese / cppast

Library to parse and work with the C++ AST
Other
1.7k stars 164 forks source link

fix libclang version check #164

Closed waitingtocompile closed 1 year ago

waitingtocompile commented 1 year ago

Libclang minor version 62 is associated with clang 14.0.6, which doesn't have the new concept cursor. This swaps it to only consider that cursor when version is greater, rather than greater or equal 62.

foonathan commented 1 year ago

Unfortunately, 62 is also the version shipped with clang 15.0.0, which has the cursor... :(

foonathan commented 1 year ago

I had to workaround that issue in a slightly hacky way.