mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 18:42:58 +02:00
Internals: Cleanup unneeded {}. No functional change
This commit is contained in:
+3
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user