File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
cpp/ql/src/semmle/code/cpp Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,13 @@ import semmle.code.cpp.Class
55 * A C/C++ structure or union. For example, the types `MyStruct` and `MyUnion`
66 * in:
77 * ```
8- * struct MyStruct {
8+ * struct MyStruct
9+ * {
910 * int x, y, z;
1011 * };
1112 *
12- * union MyUnion {
13+ * union MyUnion
14+ * {
1315 * int i;
1416 * float f;
1517 * };
@@ -32,7 +34,8 @@ class Struct extends Class {
3234 * ```
3335 * void myFunction()
3436 * {
35- * struct MyLocalStruct {
37+ * struct MyLocalStruct
38+ * {
3639 * int x, y, z;
3740 * };
3841 * }
@@ -53,7 +56,8 @@ class LocalStruct extends Struct {
5356 * class MyClass
5457 * {
5558 * public:
56- * struct MyNestedStruct {
59+ * struct MyNestedStruct
60+ * {
5761 * int x, y, z;
5862 * };
5963 * };
You can’t perform that action at this time.
0 commit comments