diff --git a/src/macro/Directives.hh b/src/macro/Directives.hh index 314f33622cfbe02de7efd54cc5539b28429b55b0..368eb496e8071e86e58974bc98da098ffe6b86e8 100644 --- a/src/macro/Directives.hh +++ b/src/macro/Directives.hh @@ -22,8 +22,6 @@ #include "Expressions.hh" -using namespace std; - namespace macro { class Directive : public Node diff --git a/src/macro/Driver.cc b/src/macro/Driver.cc index d24469db9280d96a538b3e961d86e35eb593cfeb..3635aaf250c7a983dcc4c0ae9221a59c7f347f47 100644 --- a/src/macro/Driver.cc +++ b/src/macro/Driver.cc @@ -20,7 +20,6 @@ #include "Driver.hh" #include <fstream> -#include <sstream> using namespace macro; diff --git a/src/macro/Driver.hh b/src/macro/Driver.hh index 5ba00ef385513bb16bf7aaa4e446edef665c6d5e..b3010a15b308c9a8162b76d2665f173cd2028492 100644 --- a/src/macro/Driver.hh +++ b/src/macro/Driver.hh @@ -30,8 +30,6 @@ #include <stack> -using namespace std; - // Declare TokenizerFlexLexer class #ifndef __FLEX_LEXER_H # define yyFlexLexer TokenizerFlexLexer diff --git a/src/macro/Environment.hh b/src/macro/Environment.hh index 78e34c8c3e44d7b1c556dd3fee8613954cd16dfa..905905ff1e0fab83aa0a2202bc60b5df06391823 100644 --- a/src/macro/Environment.hh +++ b/src/macro/Environment.hh @@ -23,9 +23,6 @@ #include "ForwardDeclarationsAndEnums.hh" #include <map> -#include <ostream> - -using namespace std; namespace macro { diff --git a/src/macro/Expressions.cc b/src/macro/Expressions.cc index a722a862317ace3586b66d832f886a647fe7012e..731cd4abe2ebd3e5b143b21a908fc4c25d2807bc 100644 --- a/src/macro/Expressions.cc +++ b/src/macro/Expressions.cc @@ -19,8 +19,6 @@ #include "Expressions.hh" -#include <math.h> - using namespace macro; BoolPtr diff --git a/src/macro/Expressions.hh b/src/macro/Expressions.hh index e49b98464b6de3130eb689e574bdb8f16d49b3fd..11b256000cfc8512b4d8c14fd8d66369e4003d24 100644 --- a/src/macro/Expressions.hh +++ b/src/macro/Expressions.hh @@ -29,8 +29,6 @@ #include <sstream> #include <iomanip> -using namespace std; - namespace macro { class StackTrace final : public exception diff --git a/src/macro/Parser.yy b/src/macro/Parser.yy index 6aa08a39a6c8bc308d59711efbd967315a73fa14..87912f147280a147653d0b237ae46d5348a932c8 100644 --- a/src/macro/Parser.yy +++ b/src/macro/Parser.yy @@ -29,10 +29,6 @@ %code requires { namespace macro { class Driver; } -#include <ostream> -#include <vector> -#include <string> -using namespace std; } %param { macro::Driver &driver } @@ -45,7 +41,6 @@ using namespace std; }; %code requires { -#include "Expressions.hh" #include "Directives.hh" using namespace macro; } diff --git a/src/macro/Tokenizer.ll b/src/macro/Tokenizer.ll index a76d4314b22e3aa19c8427f8cb301a2268c96eb8..fce6e6fb14d21d675f1f3f46021a9d3c04c86e99 100644 --- a/src/macro/Tokenizer.ll +++ b/src/macro/Tokenizer.ll @@ -21,11 +21,6 @@ %{ #include "Driver.hh" -#include <fstream> - -using namespace std; -using namespace macro; - // Announce to Flex the prototype we want for lexing function #define YY_DECL \ Tokenizer::parser::token_type \