mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 18:42:58 +02:00
Internals: Update to clang-format-11 (#3021)
This commit is contained in:
+3
-2
@@ -889,8 +889,9 @@ private:
|
||||
<< AstNode::prettyNameQ(nodep->cname()));
|
||||
}
|
||||
// Tasks (but not void functions) return a boolean 'int' indicating disabled
|
||||
const string rtnType
|
||||
= rtnvarp ? rtnvarp->dpiArgType(true, true) : nodep->dpiTask() ? "int" : "";
|
||||
const string rtnType = rtnvarp ? rtnvarp->dpiArgType(true, true)
|
||||
: nodep->dpiTask() ? "int"
|
||||
: "";
|
||||
AstCFunc* const funcp = new AstCFunc(nodep->fileline(), nodep->cname(), m_scopep, rtnType);
|
||||
funcp->dpiImportPrototype(true);
|
||||
funcp->dontCombine(true);
|
||||
|
||||
Reference in New Issue
Block a user