Skip to content

Commit 1173dae

Browse files
committed
CPP: Minor changes.
1 parent 950bc6e commit 1173dae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cpp/ql/src/semmle/code/cpp/Enum.qll

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ private import semmle.code.cpp.internal.ResolveClass
99
* MyEnumConstant
1010
* };
1111
* ```
12+
* This includes C++ scoped enums, see the `ScopedEnum` QL class.
1213
*/
1314
class Enum extends UserType, IntegralOrEnumType {
1415
/** Gets an enumerator of this enumeration. */
@@ -52,7 +53,7 @@ class Enum extends UserType, IntegralOrEnumType {
5253
}
5354

5455
/**
55-
* A C++ enum that is directly enclosed by a function. For example, the type
56+
* A C/C++ enum that is directly enclosed by a function. For example, the type
5657
* `MyLocalEnum` in:
5758
* ```
5859
* void myFunction()
@@ -73,7 +74,7 @@ class LocalEnum extends Enum {
7374
}
7475

7576
/**
76-
* A C++ enum that is declared within a class. For example, the type
77+
* A C/C++ enum that is declared within a class/struct. For example, the type
7778
* `MyNestedEnum` in:
7879
* ```
7980
* class MyClass

0 commit comments

Comments
 (0)