summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-09-08 07:54:20 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-09-08 07:54:20 (GMT)
commitd6567641ef09bc125e3b722db7a202c12bf27913 (patch)
tree625d2540dbed222b42cdf9e60ce2462458ba5b79 /src/memberdef.cpp
parent74d43fa25c5db5c1b0fc6ed45a725aaee972b1b7 (diff)
downloadDoxygen-d6567641ef09bc125e3b722db7a202c12bf27913.zip
Doxygen-d6567641ef09bc125e3b722db7a202c12bf27913.tar.gz
Doxygen-d6567641ef09bc125e3b722db7a202c12bf27913.tar.bz2
issue #6442 C++: Trailing return type syntax + void
corrected typo
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 486284a..4951240 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -4050,7 +4050,7 @@ void MemberDefImpl::warnIfUndocumented() const
warnIfUndocumentedParams();
}
}
-static QCString stripTrailngReturn(const QCString trailRet)
+static QCString stripTrailingReturn(const QCString trailRet)
{
QCString ret = trailRet;
@@ -4077,7 +4077,7 @@ void MemberDefImpl::detectUndocumentedParams(bool hasParamCommand,bool hasReturn
const ArgumentList &defArgList=isDocsForDefinition() ? argumentList() : declArgumentList();
if (!defArgList.trailingReturnType().isEmpty())
{
- QCString strippedTrailingReturn = stripTrailngReturn(defArgList.trailingReturnType());
+ QCString strippedTrailingReturn = stripTrailingReturn(defArgList.trailingReturnType());
isVoidReturn = (strippedTrailingReturn=="void") || (strippedTrailingReturn.right(5)==" void");
}
}