diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-09 15:06:44 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-09 15:14:17 -0300 |
commit | d8dc3d4e8ea3597497ee42b7cd02975213b858ba (patch) | |
tree | 3d1f36f131075e762f870b922833bc7f76c1d4a1 /abstractmetabuilder.cpp | |
parent | 3a73744ddd334c8fa420b8c1c801b58660965940 (diff) |
The AbstractMetaBuilder::traverseFunction method for added functions
now decide the usage pattern for the AbstractMetaTypes of the arguments.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Diffstat (limited to 'abstractmetabuilder.cpp')
-rw-r--r-- | abstractmetabuilder.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/abstractmetabuilder.cpp b/abstractmetabuilder.cpp index 8b6c4fe89..fd4278b24 100644 --- a/abstractmetabuilder.cpp +++ b/abstractmetabuilder.cpp @@ -1399,6 +1399,7 @@ AbstractMetaFunction *AbstractMetaBuilder::traverseFunction(const AddedFunction& AddedFunction::TypeInfo& typeInfo = args[i]; AbstractMetaArgument* metaArg = createMetaArgument(); AbstractMetaType* type = translateType(typeInfo); + decideUsagePattern(type); metaArg->setType(type); metaArg->setArgumentIndex(i); metaArg->setDefaultValueExpression(typeInfo.defaultValue); |