Apply 'make format'

This commit is contained in:
github action 2026-04-27 21:05:49 +00:00
parent 4437ae79e7
commit c460f0e6a0
2 changed files with 8 additions and 8 deletions

View File

@ -1733,14 +1733,14 @@ class TaskVisitor final : public VNVisitor {
if (noInline && !nodep->classMethod() && !nodep->recursive()) {
if (AstNode* const impurep = m_statep->checkImpure(nodep)) {
if (!isIfaceLocalImpure(nodep, impurep)) {
nodep->v3warn(
IMPURE,
"Unsupported: External variable referenced by non-inlined function/task: "
<< nodep->prettyNameQ() << '\n'
<< nodep->warnContextPrimary() << '\n'
<< impurep->warnOther() << "... Location of the external reference: "
<< impurep->prettyNameQ() << '\n'
<< impurep->warnContextSecondary());
nodep->v3warn(IMPURE, "Unsupported: External variable referenced by "
"non-inlined function/task: "
<< nodep->prettyNameQ() << '\n'
<< nodep->warnContextPrimary() << '\n'
<< impurep->warnOther()
<< "... Location of the external reference: "
<< impurep->prettyNameQ() << '\n'
<< impurep->warnContextSecondary());
}
}
}

0
test_regress/t/t_interface_func_impure_bad.py Normal file → Executable file
View File