Skip to content

Deprecate and remove from the build an unused 2-line utility function #7030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/pointer-analysis/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
SRC = add_failed_symbols.cpp \
goto_program_dereference.cpp \
rewrite_index.cpp \
show_value_sets.cpp \
value_set.cpp \
value_set_analysis.cpp \
Expand Down
4 changes: 3 additions & 1 deletion src/pointer-analysis/rewrite_index.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ Author: Daniel Kroening, [email protected]
#ifndef CPROVER_POINTER_ANALYSIS_REWRITE_INDEX_H
#define CPROVER_POINTER_ANALYSIS_REWRITE_INDEX_H

#include <util/deprecate.h>

class dereference_exprt;
class index_exprt;

// rewrite a[i] to *(a+i)

DEPRECATED(SINCE(2022, 07, 23, "implement the transform directly"))
dereference_exprt rewrite_index(const index_exprt &index_expr);

#endif // CPROVER_POINTER_ANALYSIS_REWRITE_INDEX_H