[cfe-dev] Is there a simpler way to determine the accessing permission of a C++ class member?

Limin Fu phoolimin at gmail.com
Wed Jun 22 15:20:31 PDT 2011


Hello,

I have been trying to understand how to determine the accessing permission
of a member in a C++ class. The only way I can find out is to iterate
through the declarations of CXXRecordDecl and check for AccessSpecDecl. Is
there a simpler way than this? Any hint will be appreciated.

Limin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110622/b239d1de/attachment.html>


More information about the cfe-dev mailing list