@@ -9,7 +9,7 @@ private newtype TEdgeKind =
9
9
TTrueEdge ( ) or // 'true' edge of conditional branch
10
10
TFalseEdge ( ) or // 'false' edge of conditional branch
11
11
TCppExceptionEdge ( ) or // Thrown C++ exception
12
- TSehExceptionEdge ( ) or // Thrown C++ exception
12
+ TSehExceptionEdge ( ) or // Thrown SEH exception
13
13
TDefaultEdge ( ) or // 'default' label of switch
14
14
TCaseEdge ( string minValue , string maxValue ) {
15
15
// Case label of switch
@@ -58,24 +58,22 @@ abstract private class ExceptionEdgeImpl extends EdgeKindImpl { }
58
58
* An "exception" edge, representing the successor of an instruction when that
59
59
* instruction's evaluation throws an exception.
60
60
*
61
- * Exception edges are expclitly sublcassed to
62
- * `CppExceptionEdge` and `SehExceptionEdge` only.
63
- * Further sublcasses, if required, should be added privately
64
- * here for IR efficiency.
61
+ * Exception edges are expclitly sublcassed to `CppExceptionEdge` and `SehExceptionEdge`
62
+ * only. Further sublcasses, if required, should be added privately here for IR efficiency.
65
63
*/
66
64
final class ExceptionEdge = ExceptionEdgeImpl ;
67
65
68
66
/**
69
67
* An "exception" edge, representing the successor of an instruction when that
70
- * instruction's evaluation throws an exception for C++ exceptions
68
+ * instruction's evaluation throws a C++ exception.
71
69
*/
72
70
class CppExceptionEdge extends ExceptionEdgeImpl , TCppExceptionEdge {
73
71
final override string toString ( ) { result = "C++ Exception" }
74
72
}
75
73
76
74
/**
77
75
* An "exception" edge, representing the successor of an instruction when that
78
- * instruction's evaluation throws an exception for SEH exceptions
76
+ * instruction's evaluation throws an SEH exception.
79
77
*/
80
78
class SehExceptionEdge extends ExceptionEdgeImpl , TSehExceptionEdge {
81
79
final override string toString ( ) { result = "SEH Exception" }
@@ -145,12 +143,12 @@ module EdgeKind {
145
143
FalseEdge falseEdge ( ) { result = TFalseEdge ( ) }
146
144
147
145
/**
148
- * Gets an instance of the `CppExceptionEdge` class.
146
+ * Gets the single instance of the `CppExceptionEdge` class.
149
147
*/
150
148
CppExceptionEdge cppExceptionEdge ( ) { result = TCppExceptionEdge ( ) }
151
149
152
150
/**
153
- * Gets an instance of the `SehExceptionEdge` class.
151
+ * Gets the single instance of the `SehExceptionEdge` class.
154
152
*/
155
153
SehExceptionEdge sehExceptionEdge ( ) { result = TSehExceptionEdge ( ) }
156
154
0 commit comments