CPP: Brace placement.

This commit is contained in:
Geoffrey White
2019-08-08 17:51:27 +01:00
parent 2466299df5
commit 950bc6e3d0
2 changed files with 5 additions and 3 deletions

View File

@@ -109,7 +109,8 @@ class NestedEnum extends Enum {
* A C++ scoped enum, that is, an enum whose constants must be qualified with
* the name of the enum. For example, the type `Color` in:
* ```
* enum class Color {
* enum class Color
* {
* red,
* blue
* }
@@ -128,7 +129,8 @@ class ScopedEnum extends Enum {
*
* For example the enumeration constant `green` in:
* ```
* enum {
* enum
* {
* red,
* green,
* blue

View File

@@ -4,4 +4,4 @@ from Element e
where not e instanceof BuiltInType
and not e instanceof Specifier
and not e instanceof Folder
select e
select e, concat(e.getAQlClass(), ", ")