We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6178774 + b32b613 commit 821371dCopy full SHA for 821371d
src/analyses/creationLockset.ml
@@ -137,7 +137,13 @@ module Spec = struct
137
|| one_protected_inter_threaded_other_intra_threaded cl1 t2 ls2
138
|| one_protected_inter_threaded_other_intra_threaded cl2 t1 ls1)
139
140
- let should_print (_t, _ls, cl) = not @@ G.is_empty cl
+ (* TID and Lockset components are directly queried from other analyses and already are printed by them *)
141
+ let pretty () (_, _, cl) = G.pretty () cl
142
+ let show (_, _, cl) = G.show cl
143
+ let to_yojson (_, _, cl) = G.to_yojson cl
144
+ let printXml f (_, _, cl) = G.printXml f cl
145
+
146
+ let should_print (_t, _ls, cl) = G.exists (fun _ ls -> not @@ Lockset.is_empty ls) cl
147
end
148
149
let access man _ =
0 commit comments