Skip to content

Commit b74ba9d

Browse files
Version of value_sett::output without ns argument
This argument is unused.
1 parent 99260e4 commit b74ba9d

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/pointer-analysis/value_set.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,13 @@ void value_sett::output(
139139
const namespacet &,
140140
std::ostream &out,
141141
const std::string &indent) const
142+
{
143+
output(out, indent);
144+
}
145+
146+
void value_sett::output(
147+
std::ostream &out,
148+
const std::string &indent) const
142149
{
143150
values.iterate([&](const irep_idt &, const entryt &e) {
144151
irep_idt identifier, display_name;

src/pointer-analysis/value_set.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,13 @@ 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(
319+
std::ostream &out,
320+
const std::string &indent = "") const;
321+
322+
DEPRECATED(SINCE(2019, 06, 11, "Use the version without ns argument"))
319323
void output(
320324
const namespacet &ns,
321325
std::ostream &out,

0 commit comments

Comments
 (0)