@@ -15,30 +15,30 @@ private newtype TBufferWriteEstimationReason =
15
15
TValueFlowAnalysis ( )
16
16
17
17
/**
18
- * A reason for a specific buffer write size estimate
18
+ * A reason for a specific buffer write size estimate.
19
19
*/
20
20
abstract class BufferWriteEstimationReason extends TBufferWriteEstimationReason {
21
21
/**
22
- * Returns the name of the concrete class
22
+ * Returns the name of the concrete class.
23
23
*/
24
24
abstract string toString ( ) ;
25
25
26
26
/**
27
- * Returns a human readable representation of this reason
27
+ * Returns a human readable representation of this reason.
28
28
*/
29
29
abstract string getDescription ( ) ;
30
30
31
31
/**
32
32
* Combine estimate reasons. Used to give a reason for the size of a format string
33
- * conversion given reasons coming from its individual specifiers
33
+ * conversion given reasons coming from its individual specifiers.
34
34
*/
35
35
abstract BufferWriteEstimationReason combineWith ( BufferWriteEstimationReason other ) ;
36
36
}
37
37
38
38
/**
39
39
* No particular reason given. This is currently used for backward compatibility so that
40
40
* classes derived from BufferWrite and overriding getMaxData\0 still work with the
41
- * queries as intended
41
+ * queries as intended.
42
42
*/
43
43
class NoSpecifiedEstimateReason extends BufferWriteEstimationReason , TNoSpecifiedEstimateReason {
44
44
override string toString ( ) { result = "NoSpecifiedEstimateReason" }
@@ -54,7 +54,7 @@ class NoSpecifiedEstimateReason extends BufferWriteEstimationReason, TNoSpecifie
54
54
55
55
/**
56
56
* The estimation comes from rough bounds just based on the type (e.g.
57
- * `0 <= x < 2^32` for an unsigned 32 bit integer)
57
+ * `0 <= x < 2^32` for an unsigned 32 bit integer).
58
58
*/
59
59
class TypeBoundsAnalysis extends BufferWriteEstimationReason , TTypeBoundsAnalysis {
60
60
override string toString ( ) { result = "TypeBoundsAnalysis" }
0 commit comments