Natspec: Don't copy from base function if return parameters differ

This commit is contained in:
Mathias Baumann
2021-04-19 15:20:30 +02:00
parent 14d2170b46
commit 1737bd7ded
6 changed files with 109 additions and 9 deletions
+2 -2
View File
@@ -68,10 +68,10 @@ private:
/// Helper-function that will create a json object for the "returns" field for a given function definition.
/// @param _tags docTags that are used.
/// @param _functionDef functionDefinition that is used to determine which return parameters are named.
/// @param _returnParameterNames names of the return parameters
/// @return A JSON representation
/// of a method's return notice documentation
static Json::Value extractReturnParameterDocs(std::multimap<std::string, DocTag> const& _tags, FunctionDefinition const& _functionDef);
static Json::Value extractReturnParameterDocs(std::multimap<std::string, DocTag> const& _tags, std::vector<std::string> const& _returnParameterNames);
};
}