mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
CPP: Brace placement.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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(), ", ")
|
||||
|
||||
Reference in New Issue
Block a user