You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the library by design don't expect nested templates because consider building a cpp_template_instantiation_type you need a cpp_template_ref which most of the time is build manually but in the case of nested templates I don't exactly know what should the arguments be.
Maybe each indexed entity should return its own basic_cpp_entity_ref so in worst case an AST visit could eventually find the desired value.
After trying with cindex python I noticed the same bug.
Interestingly, if I make the function constexpr the bug disappears and now is treated as a definition (as it should).
So I don't know what to do here or if there is a workaround (maybe submit an llvm ticket?).
Thanks.
libclang_parser
15.0.7
Explanation of the error.
Input:
Output:
The text was updated successfully, but these errors were encountered: