aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/yosys.cc
diff options
context:
space:
mode:
authorOleg Endo <olegendo@gcc.gnu.org>2019-04-29 19:20:33 +0900
committerOleg Endo <olegendo@gcc.gnu.org>2019-04-29 19:20:33 +0900
commit4f15e7f00fa2b073d6df39d4af7171f2a3f07bc9 (patch)
treea81952a90066194e5cbbf23d17cf602d83ee0f10 /kernel/yosys.cc
parente531fb203aedeb3863ebf8add0bbd8251183d27a (diff)
downloadyosys-4f15e7f00fa2b073d6df39d4af7171f2a3f07bc9.tar.gz
yosys-4f15e7f00fa2b073d6df39d4af7171f2a3f07bc9.tar.bz2
yosys-4f15e7f00fa2b073d6df39d4af7171f2a3f07bc9.zip
fix codestyle formatting
Diffstat (limited to 'kernel/yosys.cc')
-rw-r--r--kernel/yosys.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/kernel/yosys.cc b/kernel/yosys.cc
index 267a7d01c..20d972150 100644
--- a/kernel/yosys.cc
+++ b/kernel/yosys.cc
@@ -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)