Skip to content

Commit 8a27a92

Browse files
committed
De-deprecated source_locationt methods
1 parent db11df7 commit 8a27a92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/util/source_location.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class source_locationt:public irept
6060
// to adjust all source locations.
6161
// 3) The name of the function is not strictly a source location.
6262
// It will be removed.
63-
DEPRECATED(SINCE(2022, 10, 13, "use identifier of containing function"))
63+
// DEPRECATED(SINCE(2022, 10, 13, "use identifier of containing function"))
6464
const irep_idt &get_function() const
6565
{
6666
return get(ID_function);
@@ -126,7 +126,7 @@ class source_locationt:public irept
126126
set(ID_column, column);
127127
}
128128

129-
DEPRECATED(SINCE(2022, 10, 13, "use identifier of containing function"))
129+
// DEPRECATED(SINCE(2022, 10, 13, "use identifier of containing function"))
130130
void set_function(const irep_idt &function)
131131
{
132132
set(ID_function, function);

0 commit comments

Comments
 (0)