removeShadowedDecls(): simplify the way we get the type
removeShadowedDecls(): simplify the way we get the type

Apparently, this code was written this way because getCanonicalType() on a
TypeAliasDecl which represented generic parameter used to assert().


Swift SVN r7447

benlangmuir/swift,jmgc/swift,uasys/swift,Jnosh/swift,johnno1962d/swift,CodaFi/swift,swiftix/swift.old,natecook1000/swift,mightydeveloper/swift,JaSpa/swift,benlangmuir/swift,danielmartin/swift,johnno1962d/swift,tardieu/swift,sschiau/swift,jmgc/swift,austinzheng/swift,dduan/swift,karwa/swift,JaSpa/swift,CodaFi/swift,kperryua/swift,benlangmuir/swift,kusl/swift,karwa/swift,jtbandes/swift,deyton/swift,tardieu/swift,calebd/swift,karwa/swift,KrishMunot/swift,manavgabhawala/swift,rudkx/swift,swiftix/swift,rudkx/swift,apple/swift,Ivacker/swift,roambotics/swift,felix91gr/swift,sdulal/swift,SwiftAndroid/swift,Jnosh/swift,mightydeveloper/swift,codestergit/swift,kentya6/swift,harlanhaskins/swift,kentya6/swift,felix91gr/swift,ken0nek/swift,swiftix/swift,shajrawi/swift,shahmishal/swift,natecook1000/swift,khizkhiz/swift,calebd/swift,CodaFi/swift,modocache/swift,xedin/swift,JaSpa/swift,atrick/swift,ken0nek/swift,brentdax/swift,milseman/swift,hughbe/swift,codestergit/swift,bitjammer/swift,slavapestov/swift,ben-ng/swift,harlanhaskins/swift,djwbrown/swift,frootloops/swift,practicalswift/swift,tkremenek/swift,slavapestov/swift,tjw/swift,gregomni/swift,xwu/swift,xedin/swift,aschwaighofer/swift,stephentyrone/swift,MukeshKumarS/Swift,adrfer/swift,cbrentharris/swift,russbishop/swift,gribozavr/swift,deyton/swift,shahmishal/swift,manavgabhawala/swift,bitjammer/swift,tkremenek/swift,hooman/swift,zisko/swift,zisko/swift,kstaring/swift,mightydeveloper/swift,airspeedswift/swift,natecook1000/swift,lorentey/swift,practicalswift/swift,gmilos/swift,jtbandes/swift,russbishop/swift,codestergit/swift,adrfer/swift,gribozavr/swift,slavapestov/swift,arvedviehweger/swift,SwiftAndroid/swift,JaSpa/swift,tjw/swift,benlangmuir/swift,MukeshKumarS/Swift,nathawes/swift,nathawes/swift,zisko/swift,zisko/swift,ahoppen/swift,russbishop/swift,devincoughlin/swift,aschwaighofer/swift,jckarter/swift,sschiau/swift,jtbandes/swift,milseman/swift,apple/swift,stephentyrone/swift,MukeshKumarS/Swift,allevato/swift,parkera/swift,emilstahl/swift,aschwaighofer/swift,danielmartin/swift,karwa/swift,rudkx/swift,parkera/swift,kentya6/swift,calebd/swift,CodaFi/swift,austinzheng/swift,kperryua/swift,KrishMunot/swift,gmilos/swift,rudkx/swift,bitjammer/swift,gmilos/swift,manavgabhawala/swift,milseman/swift,therealbnut/swift,IngmarStein/swift,tinysun212/swift-windows,apple/swift,modocache/swift,shajrawi/swift,therealbnut/swift,kentya6/swift,arvedviehweger/swift,shajrawi/swift,slavapestov/swift,milseman/swift,devincoughlin/swift,calebd/swift,harlanhaskins/swift,hooman/swift,kperryua/swift,uasys/swift,huonw/swift,airspeedswift/swift,brentdax/swift,stephentyrone/swift,therealbnut/swift,adrfer/swift,IngmarStein/swift,brentdax/swift,deyton/swift,tardieu/swift,swiftix/swift.old,huonw/swift,djwbrown/swift,xedin/swift,alblue/swift,kstaring/swift,jckarter/swift,CodaFi/swift,LeoShimonaka/swift,arvedviehweger/swift,airspeedswift/swift,huonw/swift,jckarter/swift,calebd/swift,uasys/swift,mightydeveloper/swift,huonw/swift,dduan/swift,arvedviehweger/swift,rudkx/swift,natecook1000/swift,kentya6/swift,russbishop/swift,bitjammer/swift,LeoShimonaka/swift,CodaFi/swift,allevato/swift,return/swift,ahoppen/swift,emilstahl/swift,SwiftAndroid/swift,harlanhaskins/swift,uasys/swift,russbishop/swift,zisko/swift,tjw/swift,nathawes/swift,therealbnut/swift,lorentey/swift,apple/swift,xedin/swift,hooman/swift,tinysun212/swift-windows,ken0nek/swift,brentdax/swift,kusl/swift,hughbe/swift,djwbrown/swift,deyton/swift,xwu/swift,ken0nek/swift,bitjammer/swift,jopamer/swift,lorentey/swift,gottesmm/swift,IngmarStein/swift,hooman/swift,devincoughlin/swift,emilstahl/swift,therealbnut/swift,bitjammer/swift,therealbnut/swift,therealbnut/swift,ben-ng/swift,felix91gr/swift,jopamer/swift,emilstahl/swift,gregomni/swift,xwu/swift,sschiau/swift,KrishMunot/swift,arvedviehweger/swift,amraboelela/swift,jopamer/swift,alblue/swift,gmilos/swift,kusl/swift,MukeshKumarS/Swift,KrishMunot/swift,djwbrown/swift,practicalswift/swift,parkera/swift,CodaFi/swift,hughbe/swift,practicalswift/swift,practicalswift/swift,sschiau/swift,devincoughlin/swift,gribozavr/swift,kusl/swift,gribozavr/swift,calebd/swift,JaSpa/swift,JaSpa/swift,danielmartin/swift,return/swift,Ivacker/swift,hughbe/swift,shahmishal/swift,natecook1000/swift,aschwaighofer/swift,SwiftAndroid/swift,dduan/swift,JGiola/swift,MukeshKumarS/Swift,nathawes/swift,milseman/swift,glessard/swift,jckarter/swift,OscarSwanros/swift,swiftix/swift.old,xedin/swift,jckarter/swift,sdulal/swift,felix91gr/swift,codestergit/swift,swiftix/swift.old,practicalswift/swift,JGiola/swift,felix91gr/swift,aschwaighofer/swift,amraboelela/swift,felix91gr/swift,Ivacker/swift,roambotics/swift,practicalswift/swift,roambotics/swift,IngmarStein/swift,dduan/swift,LeoShimonaka/swift,ahoppen/swift,Ivacker/swift,devincoughlin/swift,return/swift,frootloops/swift,parkera/swift,benlangmuir/swift,benlangmuir/swift,gottesmm/swift,tjw/swift,slavapestov/swift,ben-ng/swift,IngmarStein/swift,cbrentharris/swift,gregomni/swift,frootloops/swift,hughbe/swift,tardieu/swift,jmgc/swift,sdulal/swift,frootloops/swift,modocache/swift,codestergit/swift,devincoughlin/swift,shajrawi/swift,parkera/swift,khizkhiz/swift,gmilos/swift,ahoppen/swift,brentdax/swift,ahoppen/swift,milseman/swift,gribozavr/swift,austinzheng/swift,jopamer/swift,danielmartin/swift,airspeedswift/swift,johnno1962d/swift,russbishop/swift,kperryua/swift,swiftix/swift.old,austinzheng/swift,khizkhiz/swift,emilstahl/swift,return/swift,tkremenek/swift,stephentyrone/swift,jmgc/swift,alblue/swift,gottesmm/swift,ben-ng/swift,shahmishal/swift,jopamer/swift,sschiau/swift,dreamsxin/swift,alblue/swift,airspeedswift/swift,mightydeveloper/swift,harlanhaskins/swift,atrick/swift,kperryua/swift,austinzheng/swift,gregomni/swift,jtbandes/swift,ken0nek/swift,Ivacker/swift,ken0nek/swift,karwa/swift,rudkx/swift,cbrentharris/swift,uasys/swift,deyton/swift,modocache/swift,dreamsxin/swift,djwbrown/swift,Ivacker/swift,brentdax/swift,xwu/swift,JGiola/swift,gottesmm/swift,karwa/swift,sdulal/swift,manavgabhawala/swift,kperryua/swift,kperryua/swift,cbrentharris/swift,SwiftAndroid/swift,frootloops/swift,mightydeveloper/swift,parkera/swift,tinysun212/swift-windows,codestergit/swift,jtbandes/swift,dduan/swift,parkera/swift,LeoShimonaka/swift,alblue/swift,gmilos/swift,shajrawi/swift,xedin/swift,shajrawi/swift,shahmishal/swift,alblue/swift,shahmishal/swift,MukeshKumarS/Swift,glessard/swift,tkremenek/swift,Ivacker/swift,kentya6/swift,swiftix/swift,swiftix/swift.old,nathawes/swift,brentdax/swift,khizkhiz/swift,jtbandes/swift,calebd/swift,jckarter/swift,jmgc/swift,hughbe/swift,practicalswift/swift,adrfer/swift,tardieu/swift,tjw/swift,tkremenek/swift,allevato/swift,russbishop/swift,jmgc/swift,kstaring/swift,IngmarStein/swift,manavgabhawala/swift,devincoughlin/swift,adrfer/swift,KrishMunot/swift,lorentey/swift,johnno1962d/swift,djwbrown/swift,xwu/swift,SwiftAndroid/swift,tinysun212/swift-windows,nathawes/swift,shahmishal/swift,SwiftAndroid/swift,manavgabhawala/swift,amraboelela/swift,parkera/swift,uasys/swift,huonw/swift,adrfer/swift,codestergit/swift,gmilos/swift,OscarSwanros/swift,deyton/swift,roambotics/swift,aschwaighofer/swift,allevato/swift,Ivacker/swift,kusl/swift,return/swift,gregomni/swift,alblue/swift,IngmarStein/swift,adrfer/swift,ahoppen/swift,khizkhiz/swift,cbrentharris/swift,felix91gr/swift,aschwaighofer/swift,shajrawi/swift,sschiau/swift,natecook1000/swift,amraboelela/swift,bitjammer/swift,OscarSwanros/swift,modocache/swift,atrick/swift,harlanhaskins/swift,amraboelela/swift,sdulal/swift,JGiola/swift,emilstahl/swift,zisko/swift,arvedviehweger/swift,airspeedswift/swift,arvedviehweger/swift,mightydeveloper/swift,shajrawi/swift,kstaring/swift,jckarter/swift,atrick/swift,milseman/swift,LeoShimonaka/swift,OscarSwanros/swift,hooman/swift,hooman/swift,danielmartin/swift,atrick/swift,xedin/swift,cbrentharris/swift,uasys/swift,ben-ng/swift,austinzheng/swift,tardieu/swift,mightydeveloper/swift,devincoughlin/swift,LeoShimonaka/swift,johnno1962d/swift,ken0nek/swift,swiftix/swift.old,JaSpa/swift,modocache/swift,xwu/swift,karwa/swift,austinzheng/swift,xedin/swift,Jnosh/swift,tjw/swift,manavgabhawala/swift,KrishMunot/swift,kentya6/swift,stephentyrone/swift,amraboelela/swift,cbrentharris/swift,hughbe/swift,return/swift,sschiau/swift,gribozavr/swift,frootloops/swift,jmgc/swift,zisko/swift,stephentyrone/swift,huonw/swift,harlanhaskins/swift,johnno1962d/swift,OscarSwanros/swift,hooman/swift,Jnosh/swift,apple/swift,tjw/swift,lorentey/swift,xwu/swift,glessard/swift,djwbrown/swift,danielmartin/swift,LeoShimonaka/swift,ben-ng/swift,jtbandes/swift,swiftix/swift,gregomni/swift,khizkhiz/swift,tardieu/swift,khizkhiz/swift,gribozavr/swift,allevato/swift,KrishMunot/swift,MukeshKumarS/Swift,emilstahl/swift,kstaring/swift,deyton/swift,cbrentharris/swift,allevato/swift,gribozavr/swift,swiftix/swift.old,kusl/swift,emilstahl/swift,modocache/swift,karwa/swift,swiftix/swift,gottesmm/swift,airspeedswift/swift,glessard/swift,kstaring/swift,sschiau/swift,tkremenek/swift,kusl/swift,huonw/swift,shahmishal/swift,roambotics/swift,glessard/swift,allevato/swift,apple/swift,OscarSwanros/swift,Jnosh/swift,lorentey/swift,gottesmm/swift,sdulal/swift,kusl/swift,LeoShimonaka/swift,JGiola/swift,Jnosh/swift,amraboelela/swift,JGiola/swift,OscarSwanros/swift,kstaring/swift,roambotics/swift,slavapestov/swift,nathawes/swift,slavapestov/swift,tinysun212/swift-windows,swiftix/swift,danielmartin/swift,johnno1962d/swift,glessard/swift,frootloops/swift,lorentey/swift,gottesmm/swift,tkremenek/swift,ben-ng/swift,lorentey/swift,kentya6/swift,sdulal/swift,dduan/swift,return/swift,swiftix/swift,sdulal/swift,stephentyrone/swift,natecook1000/swift,jopamer/swift,atrick/swift,jopamer/swift,tinysun212/swift-windows,Jnosh/swift,tinysun212/swift-windows,dduan/swift