Internals: Cleanup temp string inserts for clang-tidy. No functional change.

This commit is contained in:
Wilson Snyder
2018-10-14 11:10:11 -04:00
parent 595419b370
commit b7e4083e70
7 changed files with 12 additions and 7 deletions
+3 -2
View File
@@ -859,8 +859,9 @@ private:
// At runtime we need the svOpenArrayHandle to point to this task & thread's data,
// in addition to static info about the variable
string name = portp->name()+"__Vopenarray";
string varCode = ("VerilatedDpiOpenVar "+name
+" (&"+propName+", &"+portp->name()+");\n");
string varCode = ("VerilatedDpiOpenVar "
// NOLINTNEXTLINE(performance-inefficient-string-concatenation)
+name+" (&"+propName+", &"+portp->name()+");\n");
cfuncp->addStmtsp(new AstCStmt(portp->fileline(), varCode));
args += "&"+name;
}