mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 10:33:13 +02:00
Internals: Cleanup temp string inserts for clang-tidy. No functional change.
This commit is contained in:
+3
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user