Internals: Remove empty statements. No functional change intended.

Remove stray semicolons, mostly by capturing them in macros accurately.
This removes a ton on lint warnings from CLion.
This commit is contained in:
Geza Lore
2020-05-30 19:13:18 +01:00
parent 2e32387e5c
commit 9712ceedd7
11 changed files with 45 additions and 45 deletions
+2 -2
View File
@@ -1884,12 +1884,12 @@ void EmitCStmts::emitOpName(AstNode* nodep, const string& format, AstNode* lhsp,
string nextComma;
bool needComma = false;
#define COMMA \
{ \
do { \
if (!nextComma.empty()) { \
puts(nextComma); \
nextComma = ""; \
} \
}
} while (false)
putbs("");
for (string::const_iterator pos = format.begin(); pos != format.end(); ++pos) {