how to query if instance method is const?

I have a class with two implementations of operator(), one is const and one is not.

What call in the libclang API allows me to determine which one I am looking at if I am traversing the AST?

I found the two calls:

clang_CXXMethod_isStatic( CXCursor C )
clang_CXXMethod_isVirtual( CXCursor C )

but there is no corresponding call to _isConst(). Is there some other way to accomplish this?

Thanks,
Bob Anderson

Not being familiar with libclang but I’ll take a stab in the dark - does ‘this’ appear in the parameter list through libclang? Can you detect whether the ‘this’ parameter is const?