[cfe-dev] how to query if instance method is const?
Robert Anderson
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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120120/a9707ba0/attachment.html>
More information about the cfe-dev
mailing list