summaryrefslogtreecommitdiff
path: root/src/expr/expr_manager_template.cpp
diff options
context:
space:
mode:
authorGereon Kremer <gereon.kremer@cs.rwth-aachen.de>2020-09-02 22:15:30 +0200
committerGitHub <noreply@github.com>2020-09-02 15:15:30 -0500
commitf845c04a147021937f1b0a942ee2080df950cda3 (patch)
tree4b88acf9730f489904cade66cb3f9fec8969dab7 /src/expr/expr_manager_template.cpp
parentf9a4549c3dab3cd91f0d9973b24b7891048ed1d9 (diff)
Remove #line directives from generated files. (#5005)
This PR removes any usage of the #line directive. We no longer consider it particularly useful, and it obstructs reproducible builds (see #4980). Fixes #4980.
Diffstat (limited to 'src/expr/expr_manager_template.cpp')
-rw-r--r--src/expr/expr_manager_template.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/expr/expr_manager_template.cpp b/src/expr/expr_manager_template.cpp
index 0d22a3c41..bac9e3b43 100644
--- a/src/expr/expr_manager_template.cpp
+++ b/src/expr/expr_manager_template.cpp
@@ -26,12 +26,6 @@
${includes}
-// This is a hack, but an important one: if there's an error, the
-// compiler directs the user to the template file instead of the
-// generated one. We don't want the user to modify the generated one,
-// since it'll get overwritten on a later build.
-#line 34 "${template}"
-
#ifdef CVC4_STATISTICS_ON
#define INC_STAT(kind) \
{ \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback