aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetabuilder.cpp
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2009-11-09 15:06:44 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-11-09 15:14:17 -0300
commitd8dc3d4e8ea3597497ee42b7cd02975213b858ba (patch)
tree3d1f36f131075e762f870b922833bc7f76c1d4a1 /abstractmetabuilder.cpp
parent3a73744ddd334c8fa420b8c1c801b58660965940 (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.cpp1
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);