diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-02 11:43:52 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-02 14:32:58 -0200 |
commit | 8fb11ea5ff063f23785ac4ce7e1f3187ae0aa774 (patch) | |
tree | 6f31e3b314fce10706439f3c3ffb2c86ffadd65c /cppgenerator.h | |
parent | 7bed51517c9bcb9e5f152751b1a3c43d71682f55 (diff) |
Implement return value heuristic.
If the method returns a pointer and there are no policies for the return type, the returned value is
considered child of the current object (self).
Reviewed by Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'cppgenerator.h')
-rw-r--r-- | cppgenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cppgenerator.h b/cppgenerator.h index 0d7746ad6..b8dc25494 100644 --- a/cppgenerator.h +++ b/cppgenerator.h @@ -148,6 +148,7 @@ private: void writeSpecialCastFunction(QTextStream& s, const AbstractMetaClass* metaClass); void writeParentChildManagement(QTextStream& s, const AbstractMetaFunction* func); + void writeReturnValueHeuristics(QTextStream& s, const AbstractMetaFunction* func); /** * Returns the multiple inheritance initializer function for the given class. * \param metaClass the class for whom the function name must be generated. |