Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnsgar Radermacher2013-10-28 10:26:07 -0400
committerAnsgar Radermacher2013-11-04 08:13:39 -0500
commit61b70f20dcd46e22e93831d517625c61f863301c (patch)
tree9fd2b544bcb1a4bfaa5aaec213a5254e6171b856 /extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/clazz/CppClassOperationsDeclaration.mtl
parent3499d425ccb5ab47baf342a117517b3ff533d884 (diff)
downloadorg.eclipse.papyrus-61b70f20dcd46e22e93831d517625c61f863301c.tar.gz
org.eclipse.papyrus-61b70f20dcd46e22e93831d517625c61f863301c.tar.xz
org.eclipse.papyrus-61b70f20dcd46e22e93831d517625c61f863301c.zip
- [Bug 420376] Generated C++ code is not formatted
Diffstat (limited to 'extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/clazz/CppClassOperationsDeclaration.mtl')
-rw-r--r--extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/clazz/CppClassOperationsDeclaration.mtl7
1 files changed, 7 insertions, 0 deletions
diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/clazz/CppClassOperationsDeclaration.mtl b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/clazz/CppClassOperationsDeclaration.mtl
index bc129027d9f..a73127c132a 100644
--- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/clazz/CppClassOperationsDeclaration.mtl
+++ b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/acceleo/util/clazz/CppClassOperationsDeclaration.mtl
@@ -7,4 +7,11 @@
[CppOperationDeclaration()/]
[/for]
+[for (b : Behavior | eAllContents(OpaqueBehavior)->select(visibility = visibilityFilter))]
+ [if (b.specification = null)]
+
+ // opaque behavior without specification (typically from state machine)
+ [CppBehaviorDeclaration()/]
+ [/if]
+[/for]
[/template]

Back to the top