Internals: Fix many clang-tidy issues. No functional change intended.

This commit is contained in:
Wilson Snyder
2018-10-14 18:39:33 -04:00
parent 5ae1ce90ad
commit 304a24d03a
95 changed files with 724 additions and 634 deletions
+2 -2
View File
@@ -171,7 +171,7 @@ int main(int argc, char** argv, char** env) {
}
V3Error::abortIfWarnings();
if (top.opt.annotateOut() != "") {
if (!top.opt.annotateOut().empty()) {
top.annotate(top.opt.annotateOut());
}
@@ -180,7 +180,7 @@ int main(int argc, char** argv, char** env) {
top.tests().dump(false);
}
if (top.opt.writeFile() != "") {
if (!top.opt.writeFile().empty()) {
top.writeCoverage(top.opt.writeFile());
V3Error::abortIfWarnings();
if (top.opt.unlink()) {