Skip to content

Commit 2d07351

Browse files
authored
Merge pull request #8209 from tautschnig/cleanup/deprecate-follow
Deprecate namespacet::follow
2 parents 7da6665 + c6fcb02 commit 2d07351

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/util/namespace.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Author: Daniel Kroening, [email protected]
1010
#ifndef CPROVER_UTIL_NAMESPACE_H
1111
#define CPROVER_UTIL_NAMESPACE_H
1212

13+
#include "deprecate.h"
1314
#include "invariant.h"
1415
#include "irep.h"
1516

@@ -58,6 +59,7 @@ class namespace_baset
5859
virtual ~namespace_baset();
5960

6061
void follow_macros(exprt &) const;
62+
DEPRECATED(SINCE(2024, 2, 19, "use follow_tag(...) instead"))
6163
const typet &follow(const typet &) const;
6264

6365
// These produce union_typet, struct_typet, c_enum_typet or

0 commit comments

Comments
 (0)