aboutsummaryrefslogtreecommitdiff
path: root/odb/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-08-16 12:23:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-08-16 12:23:25 +0200
commitb9ae91e23fc4eaeaf411fabb5b71cd023889d4e7 (patch)
tree4ad5b5a1c8f98e6240316f5a976324334a738ad1 /odb/parser.cxx
parenteacf52a9a4f3832274fdefc909ab23c13413e128 (diff)
Add support for automatically discovering accessor/modifier functions
New options: --{accessor,modifier}-regex, --{accessor,modifier}-regex-trace.
Diffstat (limited to 'odb/parser.cxx')
-rw-r--r--odb/parser.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/parser.cxx b/odb/parser.cxx
index 9a19440..c5456d6 100644
--- a/odb/parser.cxx
+++ b/odb/parser.cxx
@@ -141,6 +141,8 @@ private:
access
decl_access (tree decl)
{
+ // Note that TREE_PUBLIC() returns something other than what we need.
+ //
if (TREE_PRIVATE (decl))
return access::private_;