Internals: Update to clang-format-11 (#3021)

This commit is contained in:
Geza Lore
2021-06-14 14:50:40 -04:00
committed by GitHub
parent 2705715bb1
commit c75a686081
12 changed files with 60 additions and 53 deletions
+3 -2
View File
@@ -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);