diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2016-09-21 20:01:27 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2016-09-21 20:01:27 (GMT) |
commit | 9ef1bf94eef1af591c40102b930fef95250b8142 (patch) | |
tree | 38ec21af29d25dcec3db5961aa032dcc4e94058b /src/context.cpp | |
parent | e12ec76f044b07d4e4fe167c93103be2879abaca (diff) | |
download | Doxygen-9ef1bf94eef1af591c40102b930fef95250b8142.zip Doxygen-9ef1bf94eef1af591c40102b930fef95250b8142.tar.gz Doxygen-9ef1bf94eef1af591c40102b930fef95250b8142.tar.bz2 |
Bug 771152 - C++11 ref-qualifiers do not appear in Member Function Documentation section
Diffstat (limited to 'src/context.cpp')
-rw-r--r-- | src/context.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/context.cpp b/src/context.cpp index f2f1419..e13aa69 100644 --- a/src/context.cpp +++ b/src/context.cpp @@ -3969,6 +3969,8 @@ class MemberContext::Private : public DefinitionContext<MemberContext::Private> s_inst.addProperty("parameters", &Private::parameters); s_inst.addProperty("hasConstQualifier", &Private::hasConstQualifier); s_inst.addProperty("hasVolatileQualifier",&Private::hasVolatileQualifier); + s_inst.addProperty("hasRefQualifierLValue", &Private::hasRefQualifierLValue); + s_inst.addProperty("hasRefQualifierRValue", &Private::hasRefQualifierRValue); s_inst.addProperty("trailingReturnType", &Private::trailingReturnType); s_inst.addProperty("extraTypeChars", &Private::extraTypeChars); s_inst.addProperty("templateDecls", &Private::templateDecls); @@ -4571,6 +4573,16 @@ class MemberContext::Private : public DefinitionContext<MemberContext::Private> ArgumentList *al = getDefArgList(); return al ? al->volatileSpecifier : FALSE; } + TemplateVariant hasRefQualifierLValue() const + { + ArgumentList *al = getDefArgList(); + return al ? al->refQualifier==RefQualifierLValue : FALSE; + } + TemplateVariant hasRefQualifierRValue() const + { + ArgumentList *al = getDefArgList(); + return al ? al->refQualifier==RefQualifierRValue : FALSE; + } TemplateVariant trailingReturnType() const { ArgumentList *al = getDefArgList(); |