mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 19:05:51 +00:00
remove '#include <iostream>' from headers and from unneeded places
It's harmful to have iostream everywhere as it injects functions in the compiled files
This commit is contained in:
parent
70bcf0b51d
commit
73a24ca0a9
90 changed files with 99 additions and 95 deletions
|
@ -108,13 +108,11 @@ namespace datalog {
|
|||
rule *r = *II;
|
||||
unsigned numqs = r->get_positive_tail_size();
|
||||
if (numqs > 1) {
|
||||
std::cerr << "non-linear clauses not supported\n";
|
||||
exit(-1);
|
||||
throw default_exception("non-linear clauses not supported");
|
||||
}
|
||||
|
||||
if (numqs != r->get_uninterpreted_tail_size()) {
|
||||
std::cerr << "negation of queries not supported\n";
|
||||
exit(-1);
|
||||
throw default_exception("negation of queries not supported");
|
||||
}
|
||||
|
||||
exprs.reset();
|
||||
|
|
|
@ -18,8 +18,6 @@ Revision History:
|
|||
--*/
|
||||
#pragma once
|
||||
|
||||
#include<iostream>
|
||||
#include<list>
|
||||
#include<utility>
|
||||
|
||||
#include "ast/ast.h"
|
||||
|
|
|
@ -18,7 +18,7 @@ Revision History:
|
|||
--*/
|
||||
#pragma once
|
||||
|
||||
#include<iostream>
|
||||
#include<ostream>
|
||||
#include<string>
|
||||
#include<utility>
|
||||
#include "ast/ast.h"
|
||||
|
|
|
@ -19,7 +19,6 @@ Revision History:
|
|||
|
||||
#pragma once
|
||||
|
||||
#include<iostream>
|
||||
#include<list>
|
||||
#include<utility>
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@ Revision History:
|
|||
--*/
|
||||
#pragma once
|
||||
|
||||
#include<iostream>
|
||||
#include<list>
|
||||
#include<utility>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue