It was easier than I thought. For example: if (TREE_PRIVATE(node)) { // private } else if (TREE_PROTECTED(node)) { // protected } else { // public } -- View this message in context: http://gcc.1065356.n5.nabble.com/How-to-get-access-visibility-of-functions-variables-typedefs-and-templates-tp1233730p1235258.html Sent from the gcc - Help mailing list archive at Nabble.com.