3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

fix codestyle formatting

This commit is contained in:
Oleg Endo 2019-04-29 19:20:33 +09:00
parent e531fb203a
commit 4f15e7f00f
3 changed files with 14 additions and 14 deletions

View file

@ -482,18 +482,18 @@ void remove_directory(std::string dirname)
#endif
}
std::string escape_filename_spaces (const std::string& filename)
std::string escape_filename_spaces(const std::string& filename)
{
std::string out;
out.reserve (filename.size ());
for (auto c : filename)
{
if (c == ' ')
out += "\\ ";
else
out.push_back (c);
}
return out;
std::string out;
out.reserve(filename.size());
for (auto c : filename)
{
if (c == ' ')
out += "\\ ";
else
out.push_back(c);
}
return out;
}
int GetSize(RTLIL::Wire *wire)