[NFC] Refactor getNativeSILFunctionType to use a lambda. (#33440)
[NFC] Refactor getNativeSILFunctionType to use a lambda. (#33440)


hooman/swift,gregomni/swift,hooman/swift,JGiola/swift,JGiola/swift,roambotics/swift,roambotics/swift,rudkx/swift,nathawes/swift,glessard/swift,ahoppen/swift,gregomni/swift,benlangmuir/swift,parkera/swift,roambotics/swift,benlangmuir/swift,tkremenek/swift,tkremenek/swift,roambotics/swift,nathawes/swift,parkera/swift,xwu/swift,apple/swift,jmgc/swift,jmgc/swift,benlangmuir/swift,JGiola/swift,ahoppen/swift,apple/swift,roambotics/swift,rudkx/swift,apple/swift,rudkx/swift,CodaFi/swift,xwu/swift,JGiola/swift,CodaFi/swift,gregomni/swift,ahoppen/swift,roambotics/swift,tkremenek/swift,xwu/swift,jmgc/swift,xwu/swift,parkera/swift,hooman/swift,glessard/swift,parkera/swift,xwu/swift,apple/swift,CodaFi/swift,atrick/swift,tkremenek/swift,parkera/swift,JGiola/swift,jmgc/swift,ahoppen/swift,gregomni/swift,rudkx/swift,rudkx/swift,gregomni/swift,xwu/swift,glessard/swift,atrick/swift,parkera/swift,jmgc/swift,tkremenek/swift,tkremenek/swift,nathawes/swift,CodaFi/swift,parkera/swift,jmgc/swift,nathawes/swift,atrick/swift,benlangmuir/swift,atrick/swift,atrick/swift,ahoppen/swift,atrick/swift,CodaFi/swift,nathawes/swift,apple/swift,CodaFi/swift,nathawes/swift,benlangmuir/swift,xwu/swift,rudkx/swift,glessard/swift,benlangmuir/swift,JGiola/swift,hooman/swift,gregomni/swift,CodaFi/swift,ahoppen/swift,glessard/swift,jmgc/swift,hooman/swift,nathawes/swift,apple/swift,glessard/swift,tkremenek/swift,parkera/swift,hooman/swift,hooman/swift