[cfe-dev] how to query if instance method is const?
rwa at alumni.princeton.edu
Fri Jan 20 12:26:42 PST 2012
I have a class with two implementations of operator(), one is const and one
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev