mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Fix many clang-tidy issues. No functional change intended.
This commit is contained in:
+2
-2
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user