We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sformals
selectArrayDomains
1 parent 67f1cf3 commit 0bed7acCopy full SHA for 0bed7ac
1 file changed
src/autoTune.ml
@@ -320,7 +320,11 @@ end
320
let selectArrayDomains file =
321
set_bool "annotation.goblint_array_domain" true;
322
let thisVisitor = new addTypeAttributeVisitor in
323
- ignore (visitCilFileSameGlobals thisVisitor file)
+ ignore (visitCilFileSameGlobals thisVisitor file);
324
+ (* Sync formal parameter attributes back to function types for correct CIL printing *)
325
+ iterGlobals file (function
326
+ | GFun (fd, _) -> setFormals fd fd.sformals
327
+ | _ -> ())
328
(*small unrolled loops also set domain of accessed arrays to unroll, at the point where loops are unrolled*)
329
330
0 commit comments