Internals: Cleanup unneeded {}. No functional change

This commit is contained in:
Wilson Snyder
2021-02-21 21:25:21 -05:00
parent 3ae75926e4
commit 9650aefa42
78 changed files with 218 additions and 208 deletions
+3 -3
View File
@@ -320,7 +320,7 @@ void V3File::createMakeDir() {
if (!created) {
created = true;
V3Os::createDir(v3Global.opt.makeDir());
if (v3Global.opt.hierTop()) { V3Os::createDir(v3Global.opt.hierTopDataDir()); }
if (v3Global.opt.hierTop()) V3Os::createDir(v3Global.opt.hierTopDataDir());
}
}
@@ -787,11 +787,11 @@ void V3OutFormatter::puts(const char* strg) {
wordstart = false;
break;
case 'e':
if (wordstart && m_lang == LA_VERILOG && tokenEnd(cp)) { indentDec(); }
if (wordstart && m_lang == LA_VERILOG && tokenEnd(cp)) indentDec();
wordstart = false;
break;
case 'm':
if (wordstart && m_lang == LA_VERILOG && tokenStart(cp, "module")) { indentInc(); }
if (wordstart && m_lang == LA_VERILOG && tokenStart(cp, "module")) indentInc();
wordstart = false;
break;
default: wordstart = false; break;