We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d002355 commit 0f0c3e3Copy full SHA for 0f0c3e3
src/common/util/checks.ml
@@ -114,6 +114,10 @@ module CategoryLocationMap = Hashtbl.Make (struct
114
115
116
let checks_list : (bool ref * unit CheckMap.t) CategoryLocationMap.t = CategoryLocationMap.create 113
117
+(** Store the list of checks raised by the analysis. The [bool ref] stores whether all checks in the map are safe.
118
+ The [unit CheckMap.t] is the set of checks associated with the given [Category.t * CilType.Location.t] pair.
119
+ The [bool] is a reference to avoid having to use the [update] function when updating the value. The [CheckMap.t] is mutable anyway
120
+ so it is not a problem. *)
121
122
let add_check check =
123
match check.Check.range with
0 commit comments