Skip to content

Commit 2d68a2c

Browse files
author
martin
committed
Deprecate and remove from the build an unused 2-line utility function
1 parent 6766bc4 commit 2d68a2c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/pointer-analysis/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
SRC = add_failed_symbols.cpp \
22
goto_program_dereference.cpp \
3-
rewrite_index.cpp \
43
show_value_sets.cpp \
54
value_set.cpp \
65
value_set_analysis.cpp \

src/pointer-analysis/rewrite_index.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ Author: Daniel Kroening, [email protected]
1212
#ifndef CPROVER_POINTER_ANALYSIS_REWRITE_INDEX_H
1313
#define CPROVER_POINTER_ANALYSIS_REWRITE_INDEX_H
1414

15+
#include <util/deprecate.h>
16+
1517
class dereference_exprt;
1618
class index_exprt;
1719

1820
// rewrite a[i] to *(a+i)
19-
21+
DEPRECATED(SINCE(2022, 07, 23, "implement the transform directly"))
2022
dereference_exprt rewrite_index(const index_exprt &index_expr);
2123

2224
#endif // CPROVER_POINTER_ANALYSIS_REWRITE_INDEX_H

0 commit comments

Comments
 (0)