summaryrefslogtreecommitdiff
path: root/src/expr/kind_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/kind_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/kind_template.cpp')
-rw-r--r--src/expr/kind_template.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/expr/kind_template.cpp b/src/expr/kind_template.cpp
index 0d7f5f4e4..b2e165558 100644
--- a/src/expr/kind_template.cpp
+++ b/src/expr/kind_template.cpp
@@ -69,7 +69,6 @@ std::string kindToString(::CVC4::Kind k) {
std::ostream& operator<<(std::ostream& out, TypeConstant typeConstant) {
switch(typeConstant) {
${type_constant_descriptions}
-#line 73 "${template}"
default:
out << "UNKNOWN_TYPE_CONSTANT";
break;
@@ -85,7 +84,6 @@ TheoryId kindToTheoryId(::CVC4::Kind k) {
case kind::NULL_EXPR:
break;
${kind_to_theory_id}
-#line 89 "${template}"
case kind::LAST_KIND:
break;
}
@@ -97,7 +95,6 @@ TheoryId typeConstantToTheoryId(::CVC4::TypeConstant typeConstant)
switch (typeConstant)
{
${type_constant_to_theory_id}
-#line 101 "${template}"
case LAST_TYPE: break;
}
throw IllegalArgumentException(
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback