@@ -276,33 +276,7 @@ def recursive_derived(self):
276276 return self ._recursive_derived
277277
278278 def _get_is_abstract (self ):
279- if self .compiler == compilers .MSVC_PDB_9 :
280- #prevent cyclic dependencies
281- import calldef
282- import function_traits
283- from matchers import virtuality_type_matcher_t as vtmatcher_t
284- filter_pv = vtmatcher_t ( calldef .VIRTUALITY_TYPES .PURE_VIRTUAL )
285- if self .calldefs ( filter_pv , recursive = False , allow_empty = True ):
286- return True
287- filter_npv = vtmatcher_t ( calldef .VIRTUALITY_TYPES .VIRTUAL ) \
288- | vtmatcher_t ( calldef .VIRTUALITY_TYPES .NOT_VIRTUAL )
289- pv_calldefs = []
290- npv_calldefs = []
291-
292- npv_calldefs .extend ( self .calldefs ( filter_npv , recursive = False , allow_empty = True ) )
293- for base in self .recursive_bases :
294- cls = base .related_class
295- pv_calldefs .extend ( cls .calldefs ( filter_pv , recursive = False , allow_empty = True ) )
296- npv_calldefs .extend ( cls .calldefs ( filter_npv , recursive = False , allow_empty = True ) )
297-
298- for pure_virtual in pv_calldefs :
299- impl_found = filter ( lambda f : function_traits .is_same_function ( pure_virtual , f )
300- , npv_calldefs )
301- if not impl_found :
302- return True
303- return False
304- else :
305- return self ._is_abstract
279+ return self ._is_abstract
306280 def _set_is_abstract ( self , is_abstract ):
307281 self ._is_abstract = is_abstract
308282 is_abstract = property ( _get_is_abstract , _set_is_abstract
@@ -344,8 +318,6 @@ def _set_byte_size( self, new_byte_size ):
344318 , doc = "Size of this class in bytes @type: int" )
345319
346320 def _get_byte_align (self ):
347- if self .compiler == compilers .MSVC_PDB_9 :
348- compilers .on_missing_functionality ( self .compiler , "byte align" )
349321 return self ._byte_align
350322 def _set_byte_align ( self , new_byte_align ):
351323 self ._byte_align = new_byte_align
0 commit comments