Deprecation (#2088)

* Add deprecation warning

* Deprecate -msg in configuration files

* Deprecate sc_clock
This commit is contained in:
Stefan Wallentowitz
2020-01-03 17:27:51 +01:00
committed by GitHub
parent 924fe235a9
commit 37dc33a195
12 changed files with 111 additions and 9 deletions
+1
View File
@@ -260,6 +260,7 @@ private:
}
else if (nodep->attrType() == AstAttrType::VAR_CLOCK) {
UASSERT_OBJ(m_varp, nodep, "Attribute not attached to variable");
nodep->v3warn(DEPRECATED, "sc_clock is deprecated and will be removed");
m_varp->attrScClocked(true);
nodep->unlinkFrBack()->deleteTree(); VL_DANGLING(nodep);
}