Remove "using namespace std" from compiler header files and fix the fallout.

This commit is contained in:
Martin Whitaker
2021-11-04 16:55:03 +00:00
parent 19e44d79ec
commit ecbbb60fb6
121 changed files with 971 additions and 854 deletions
+2 -2
View File
@@ -186,10 +186,10 @@ struct expr_scan_t {
/* This function takes a fully qualified Verilog name (which may have,
for example, dots in it) and produces a mangled version that can be
used by most any language. */
extern string mangle(const string&str);
extern std::string mangle(const std::string&str);
/* This function takes a string and produces an escaped version that can be
used inside a string constant for a C++ compiler. */
extern string stresc(const string&str);
extern std::string stresc(const std::string&str);
#endif /* IVL_target_H */