@@ -1896,32 +1896,7 @@ class WNOVER(DMLWarning):
1896
1896
"""
1897
1897
fmt = "file has no version tag, assuming version 1.2"
1898
1898
1899
- class WSHALL (DMLWarning ):
1900
1899
"""
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 )
1925
1900
1926
1901
class WNDOCRA(DMLWarning):
1927
1902
"""
@@ -1939,16 +1914,6 @@ class WNEGOFFS(DMLWarning):
1939
1914
"""
1940
1915
fmt = "negative register offset: %d"
1941
1916
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
-
1952
1917
class WUNUSEDDEFAULT(DMLWarning):
1953
1918
"""
1954
1919
The object is not referenced anywhere but it matches a name of an
@@ -1980,16 +1945,6 @@ class WUNUSED_DML12(DMLWarning):
1980
1945
def __init__(self, obj):
1981
1946
DMLWarning.__init__(self, obj, obj.name)
1982
1947
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 ))
1993
1948
1994
1949
class WSIZEOFTYPE(DMLWarning):
1995
1950
"""
@@ -2028,11 +1983,6 @@ class WCONFIDENTIAL(DMLWarning):
2028
1983
def __init__(self, site):
2029
1984
DMLWarning.__init__(self, site)
2030
1985
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
-
2036
1986
class WOLDAST(DMLWarning):
2037
1987
"""
2038
1988
A precompiled DML file has an old time - stamp . This may happen if a
@@ -2052,11 +2002,8 @@ class WWRNSTMT(DMLWarning):
2052
2002
"""
2053
2003
fmt = "%s"
2054
2004
2055
- class WSYSTEMC (DMLWarning ):
2056
- """ SystemC specific warnings """
2057
- fmt = "%s"
2058
2005
2059
- # This message should be removed, SIMICS-9886
2006
+ # This message should be removed, SIMICS-9886
2060
2007
class WREF(DMLWarning):
2061
2008
""" An unused parameter refers to an object that has not been declared .
2062
2009
0 commit comments