Mangler: Set up the DeclContext also when mangling an alias type. rdar://problem/17457346
Mangler: Set up the DeclContext also when mangling an alias type.
rdar://problem/17457346

Swift SVN r19211

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