We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent faff341 commit 56f5f9aCopy full SHA for 56f5f9a
src/frontc/cabs2cil.ml
@@ -6697,6 +6697,7 @@ and doStatement (s : A.statement) : chunk =
6697
| A.RETURN (e, loc) ->
6698
let loc' = convLoc loc in
6699
currentLoc := loc';
6700
+ currentExpLoc := loc'; (* TODO: separate expression loc *)
6701
(* Sometimes we return the result of a void function call *)
6702
if isVoidType !currentReturnType then begin
6703
ignore (warnOpt "Return statement with a value in function returning void");
0 commit comments