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 ef65118 commit f9af202Copy full SHA for f9af202
src/util/format_expr.cpp
@@ -304,6 +304,12 @@ void format_expr_configt::setup()
304
return format_rec(os, to_constant_expr(expr));
305
};
306
307
+ expr_map[ID_address_of] =
308
+ [](std::ostream &os, const exprt &expr) -> std::ostream & {
309
+ const auto &address_of = to_address_of_expr(expr);
310
+ return os << "address_of(" << format(address_of.object()) << ')';
311
+ };
312
+
313
expr_map[ID_annotated_pointer_constant] =
314
[](std::ostream &os, const exprt &expr) -> std::ostream & {
315
const auto &annotated_pointer = to_annotated_pointer_constant_expr(expr);
0 commit comments