This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to get access/visibility of functions, variables, typedefs and templates?
- From: crasypantz <ihavecrazypants at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 10 Feb 2016 05:31:14 -0700 (MST)
- Subject: Re: How to get access/visibility of functions, variables, typedefs and templates?
- Authentication-results: sourceware.org; auth=none
- References: <1454667283781-1233730 dot post at n5 dot nabble dot com>
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.