Skip to content

Remove (unused) langapi dependency from solvers/ #3734

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
Jan 11, 2019
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
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ languages: util.dir langapi.dir \
cpp.dir ansi-c.dir xmllang.dir assembler.dir \
jsil.dir json.dir json-symtab-language.dir

solvers.dir: util.dir langapi.dir
solvers.dir: util.dir

goto-instrument.dir: languages goto-programs.dir pointer-analysis.dir \
goto-symex.dir linking.dir analyses.dir solvers.dir
Expand Down
2 changes: 1 addition & 1 deletion src/solvers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -229,5 +229,5 @@ solvers$(LIBEXT): $(OBJ) $(SOLVER_LIB)
-include $(smt2/smt2_solver$(DEPEXT))

smt2_solver$(EXEEXT): $(OBJ) smt2/smt2_solver$(OBJEXT) \
../util/util$(LIBEXT) ../langapi/langapi$(LIBEXT) ../big-int/big-int$(LIBEXT) $(SOLVER_LIB)
../util/util$(LIBEXT) ../big-int/big-int$(LIBEXT) $(SOLVER_LIB)
$(LINKBIN)
1 change: 0 additions & 1 deletion src/solvers/refinement/module_dependencies.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
langapi # should go away
solvers/flattening
solvers/floatbv
solvers/refinement
Expand Down
6 changes: 0 additions & 6 deletions src/solvers/refinement/refine_arithmetic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ Author: Daniel Kroening, [email protected]
#include <util/expr_util.h>
#include <util/arith_tools.h>

#include <langapi/language_util.h>

#include <solvers/refinement/string_refinement_invariant.h>
#include <solvers/floatbv/float_utils.h>

Expand Down Expand Up @@ -528,9 +526,5 @@ bv_refinementt::add_approximation(

std::string bv_refinementt::approximationt::as_string() const
{
#if 0
return from_expr(expr);
#else
return std::to_string(id_nr)+"/"+id2string(expr.id());
#endif
}