Skip to content

Commit 260ef9b

Browse files
Version of value_sett::output without ns argument
This argument is unused.
1 parent 94cacf4 commit 260ef9b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/pointer-analysis/value_set.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ Author: Daniel Kroening, [email protected]
2020
#include <util/prefix.h>
2121
#include <util/simplify_expr.h>
2222

23-
#include <util/range.h>
23+
#include <goto-symex/renamed.h>
2424
#include <util/format_expr.h>
2525
#include <util/format_type.h>
26+
#include <util/range.h>
2627

2728
#ifdef DEBUG
2829
#include <iostream>
@@ -137,6 +138,11 @@ void value_sett::output(
137138
const namespacet &,
138139
std::ostream &out,
139140
const std::string &indent) const
141+
{
142+
output(out, indent);
143+
}
144+
145+
void value_sett::output(std::ostream &out, const std::string &indent) const
140146
{
141147
values.iterate([&](const irep_idt &, const entryt &e) {
142148
irep_idt identifier, display_name;

src/pointer-analysis/value_set.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,11 @@ class value_sett
313313
bool add_to_sets);
314314

315315
/// Pretty-print this value-set
316-
/// \param ns: global namespace
317316
/// \param [out] out: stream to write to
318317
/// \param indent: string to use for indentation of the output
318+
void output(std::ostream &out, const std::string &indent = "") const;
319+
320+
DEPRECATED(SINCE(2019, 06, 11, "Use the version without ns argument"))
319321
void output(
320322
const namespacet &ns,
321323
std::ostream &out,

0 commit comments

Comments
 (0)