@@ -1896,32 +1896,7 @@ class WNOVER(DMLWarning):
18961896 """
18971897 fmt = "file has no version tag, assuming version 1.2"
18981898
1899- class WSHALL (DMLWarning ):
19001899 """
1901- The result of the shift operation will always be zero.
1902- (This warning is disabled by default.)
1903- """
1904- fmt = "shifting away all data\n %s"
1905- def __init__ (self , node , lh , rh ):
1906- DMLWarning .__init__ (self , node , binary_dump (lh , rh ))
1907-
1908- class WNDOC (DMLWarning ):
1909- """
1910- No documentation string was specified for the attribute.
1911- (This warning is disabled by default.)
1912- """
1913- fmt = "no documentation for '%s'"
1914- def __init__ (self , node , member ):
1915- DMLWarning .__init__ (self , node , member )
1916-
1917- class WNSHORTDESC (DMLWarning ):
1918- """
1919- No short description string was specified using the 'desc' parameter.
1920- (This warning is disabled by default.)
1921- """
1922- fmt = "no 'desc' parameter specified for device"
1923- def __init__ (self , node ):
1924- DMLWarning .__init__ (self , node )
19251900
19261901class WNDOCRA(DMLWarning):
19271902 """
@@ -1939,16 +1914,6 @@ class WNEGOFFS(DMLWarning):
19391914 """
19401915 fmt = "negative register offset: %d"
19411916
1942- class WUNUSED (DMLWarning ):
1943- """
1944- The object is not referenced anywhere.
1945- (This warning is disabled by default.; it typically causes many false
1946- warnings.)
1947- """
1948- fmt = "unused: %s"
1949- def __init__ (self , obj ):
1950- DMLWarning .__init__ (self , obj , obj .identity ())
1951-
19521917class WUNUSEDDEFAULT(DMLWarning):
19531918 """
19541919 The object is not referenced anywhere but it matches a name of an
@@ -1980,16 +1945,6 @@ class WUNUSED_DML12(DMLWarning):
19801945 def __init__(self, obj):
19811946 DMLWarning.__init__(self, obj, obj.name)
19821947
1983- class WDUPEVENT (DMLWarning ):
1984- """
1985- Two or more events will be checkpointed using the same name, which
1986- means that the checkpoint cannot be safely read back.
1987- """
1988- fmt = "duplicate event checkpoint names: %s"
1989- def __init__ (self , site , objlist ):
1990- DMLWarning .__init__ (self , site ,
1991- ", " .join (dollar (self .site ) + o .logname ()
1992- for o in objlist ))
19931948
19941949class WSIZEOFTYPE(DMLWarning):
19951950 """
@@ -2028,11 +1983,6 @@ class WCONFIDENTIAL(DMLWarning):
20281983 def __init__(self, site):
20291984 DMLWarning.__init__(self, site)
20301985
2031- # Not used (see ctree.py class CopyData), not documented.
2032- # class WASSIGN(DMLWarning):
2033- # def __init__(self, site):
2034- # DMLWarning.__init__(self, site, "cannot perform assignment")
2035-
20361986class WOLDAST(DMLWarning):
20371987 """
20381988 A precompiled DML file has an old time - stamp . This may happen if a
@@ -2052,11 +2002,8 @@ class WWRNSTMT(DMLWarning):
20522002 """
20532003 fmt = "%s"
20542004
2055- class WSYSTEMC (DMLWarning ):
2056- """ SystemC specific warnings """
2057- fmt = "%s"
20582005
2059- # This message should be removed, SIMICS-9886
2006+ # This message should be removed, SIMICS-9886
20602007class WREF(DMLWarning):
20612008 """ An unused parameter refers to an object that has not been declared .
20622009
0 commit comments