File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -1428,14 +1428,9 @@ llvm::Module *IRGenModule::getModule() const {
14281428}
14291429
14301430bool  IRGenModule::IsWellKnownBuiltinOrStructralType (CanType T) const  {
1431-   static  const  CanType kStructural [] = {
1432-     Context.TheEmptyTupleType , Context.TheNativeObjectType ,
1433-     Context.TheBridgeObjectType , Context.TheRawPointerType ,
1434-     Context.getAnyObjectType ()
1435-   };
1436- 
1437-   if  (std::any_of (std::begin (kStructural ), std::end (kStructural ),
1438-                   [T](const  CanType &ST) { return  T == ST; }))
1431+   if  (T == Context.TheEmptyTupleType  || T == Context.TheNativeObjectType  ||
1432+       T == Context.TheBridgeObjectType  || T == Context.TheRawPointerType  ||
1433+       T == Context.getAnyObjectType ())
14391434    return  true ;
14401435
14411436  if  (auto  IntTy = dyn_cast<BuiltinIntegerType>(T)) {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments