[IRGen] Use the parent of getDeclaredTypeInContext() correctly
[IRGen] Use the parent of getDeclaredTypeInContext() correctly

... rather than asking for the getDeclaredTypeInContext() of the
parent context, which will end up using different archetypes.

tinysun212/swift-windows,tjw/swift,shajrawi/swift,stephentyrone/swift,gottesmm/swift,aschwaighofer/swift,alblue/swift,bitjammer/swift,tardieu/swift,alblue/swift,huonw/swift,parkera/swift,gmilos/swift,felix91gr/swift,nathawes/swift,therealbnut/swift,arvedviehweger/swift,jmgc/swift,return/swift,roambotics/swift,arvedviehweger/swift,xedin/swift,gribozavr/swift,tjw/swift,uasys/swift,swiftix/swift,ahoppen/swift,codestergit/swift,gottesmm/swift,lorentey/swift,shajrawi/swift,danielmartin/swift,amraboelela/swift,return/swift,codestergit/swift,frootloops/swift,karwa/swift,arvedviehweger/swift,austinzheng/swift,hughbe/swift,djwbrown/swift,arvedviehweger/swift,lorentey/swift,devincoughlin/swift,apple/swift,xedin/swift,glessard/swift,benlangmuir/swift,parkera/swift,hooman/swift,benlangmuir/swift,rudkx/swift,frootloops/swift,lorentey/swift,CodaFi/swift,atrick/swift,codestergit/swift,zisko/swift,amraboelela/swift,rudkx/swift,hughbe/swift,ahoppen/swift,glessard/swift,apple/swift,danielmartin/swift,natecook1000/swift,bitjammer/swift,practicalswift/swift,shahmishal/swift,deyton/swift,deyton/swift,JGiola/swift,gregomni/swift,brentdax/swift,sschiau/swift,JaSpa/swift,gregomni/swift,Jnosh/swift,hughbe/swift,milseman/swift,airspeedswift/swift,aschwaighofer/swift,gribozavr/swift,amraboelela/swift,alblue/swift,OscarSwanros/swift,deyton/swift,practicalswift/swift,gregomni/swift,Jnosh/swift,hughbe/swift,devincoughlin/swift,djwbrown/swift,tardieu/swift,allevato/swift,milseman/swift,felix91gr/swift,uasys/swift,gribozavr/swift,xwu/swift,codestergit/swift,airspeedswift/swift,milseman/swift,bitjammer/swift,harlanhaskins/swift,Jnosh/swift,gregomni/swift,OscarSwanros/swift,jopamer/swift,gribozavr/swift,jmgc/swift,zisko/swift,ahoppen/swift,jopamer/swift,jckarter/swift,aschwaighofer/swift,uasys/swift,return/swift,calebd/swift,austinzheng/swift,tjw/swift,jopamer/swift,xedin/swift,uasys/swift,tinysun212/swift-windows,parkera/swift,milseman/swift,bitjammer/swift,hughbe/swift,lorentey/swift,natecook1000/swift,xwu/swift,allevato/swift,devincoughlin/swift,JGiola/swift,JaSpa/swift,gribozavr/swift,atrick/swift,felix91gr/swift,uasys/swift,OscarSwanros/swift,airspeedswift/swift,harlanhaskins/swift,roambotics/swift,tinysun212/swift-windows,hooman/swift,tjw/swift,harlanhaskins/swift,shahmishal/swift,xwu/swift,shajrawi/swift,karwa/swift,tinysun212/swift-windows,jtbandes/swift,djwbrown/swift,huonw/swift,CodaFi/swift,zisko/swift,karwa/swift,shahmishal/swift,devincoughlin/swift,devincoughlin/swift,karwa/swift,parkera/swift,djwbrown/swift,lorentey/swift,allevato/swift,shajrawi/swift,practicalswift/swift,calebd/swift,OscarSwanros/swift,shajrawi/swift,tardieu/swift,tjw/swift,return/swift,benlangmuir/swift,JGiola/swift,brentdax/swift,rudkx/swift,swiftix/swift,manavgabhawala/swift,frootloops/swift,brentdax/swift,shahmishal/swift,karwa/swift,hooman/swift,apple/swift,apple/swift,harlanhaskins/swift,airspeedswift/swift,gribozavr/swift,devincoughlin/swift,jtbandes/swift,gottesmm/swift,practicalswift/swift,swiftix/swift,allevato/swift,atrick/swift,tardieu/swift,uasys/swift,practicalswift/swift,jmgc/swift,austinzheng/swift,gottesmm/swift,jtbandes/swift,sschiau/swift,nathawes/swift,felix91gr/swift,austinzheng/swift,Jnosh/swift,jtbandes/swift,jtbandes/swift,felix91gr/swift,gribozavr/swift,gmilos/swift,codestergit/swift,austinzheng/swift,ahoppen/swift,xedin/swift,djwbrown/swift,deyton/swift,zisko/swift,OscarSwanros/swift,natecook1000/swift,tinysun212/swift-windows,hooman/swift,glessard/swift,uasys/swift,jckarter/swift,bitjammer/swift,brentdax/swift,jckarter/swift,practicalswift/swift,danielmartin/swift,jckarter/swift,xwu/swift,benlangmuir/swift,djwbrown/swift,practicalswift/swift,therealbnut/swift,manavgabhawala/swift,milseman/swift,tardieu/swift,jopamer/swift,jopamer/swift,therealbnut/swift,JGiola/swift,roambotics/swift,huonw/swift,hooman/swift,frootloops/swift,CodaFi/swift,karwa/swift,devincoughlin/swift,devincoughlin/swift,tinysun212/swift-windows,CodaFi/swift,atrick/swift,calebd/swift,tardieu/swift,hughbe/swift,calebd/swift,stephentyrone/swift,natecook1000/swift,danielmartin/swift,alblue/swift,austinzheng/swift,jckarter/swift,stephentyrone/swift,manavgabhawala/swift,amraboelela/swift,nathawes/swift,manavgabhawala/swift,xedin/swift,gmilos/swift,zisko/swift,bitjammer/swift,jopamer/swift,gottesmm/swift,hooman/swift,ahoppen/swift,swiftix/swift,deyton/swift,sschiau/swift,frootloops/swift,zisko/swift,swiftix/swift,huonw/swift,amraboelela/swift,xwu/swift,benlangmuir/swift,roambotics/swift,rudkx/swift,glessard/swift,sschiau/swift,shahmishal/swift,CodaFi/swift,nathawes/swift,apple/swift,xedin/swift,deyton/swift,shahmishal/swift,allevato/swift,tardieu/swift,danielmartin/swift,felix91gr/swift,karwa/swift,JaSpa/swift,jckarter/swift,therealbnut/swift,stephentyrone/swift,lorentey/swift,deyton/swift,manavgabhawala/swift,harlanhaskins/swift,JaSpa/swift,zisko/swift,alblue/swift,codestergit/swift,huonw/swift,CodaFi/swift,tkremenek/swift,austinzheng/swift,hooman/swift,brentdax/swift,shajrawi/swift,aschwaighofer/swift,atrick/swift,sschiau/swift,amraboelela/swift,frootloops/swift,harlanhaskins/swift,nathawes/swift,brentdax/swift,felix91gr/swift,return/swift,glessard/swift,ahoppen/swift,gottesmm/swift,shahmishal/swift,natecook1000/swift,xedin/swift,codestergit/swift,airspeedswift/swift,gregomni/swift,huonw/swift,gregomni/swift,xwu/swift,stephentyrone/swift,JaSpa/swift,sschiau/swift,calebd/swift,therealbnut/swift,jmgc/swift,tkremenek/swift,JGiola/swift,gribozavr/swift,nathawes/swift,tjw/swift,nathawes/swift,parkera/swift,Jnosh/swift,manavgabhawala/swift,swiftix/swift,CodaFi/swift,rudkx/swift,Jnosh/swift,rudkx/swift,stephentyrone/swift,glessard/swift,airspeedswift/swift,calebd/swift,jopamer/swift,tkremenek/swift,bitjammer/swift,jmgc/swift,milseman/swift,amraboelela/swift,shajrawi/swift,karwa/swift,gmilos/swift,lorentey/swift,roambotics/swift,xedin/swift,manavgabhawala/swift,gmilos/swift,hughbe/swift,shahmishal/swift,jckarter/swift,airspeedswift/swift,JaSpa/swift,natecook1000/swift,therealbnut/swift,stephentyrone/swift,therealbnut/swift,swiftix/swift,apple/swift,brentdax/swift,jmgc/swift,gmilos/swift,practicalswift/swift,OscarSwanros/swift,arvedviehweger/swift,gmilos/swift,lorentey/swift,gottesmm/swift,arvedviehweger/swift,benlangmuir/swift,aschwaighofer/swift,danielmartin/swift,xwu/swift,OscarSwanros/swift,danielmartin/swift,milseman/swift,sschiau/swift,JGiola/swift,natecook1000/swift,return/swift,harlanhaskins/swift,JaSpa/swift,calebd/swift,frootloops/swift,allevato/swift,allevato/swift,jtbandes/swift,tinysun212/swift-windows,alblue/swift,roambotics/swift,return/swift,tjw/swift,alblue/swift,jmgc/swift,huonw/swift,parkera/swift,sschiau/swift,atrick/swift,tkremenek/swift,parkera/swift,aschwaighofer/swift,tkremenek/swift,aschwaighofer/swift,jtbandes/swift,Jnosh/swift,tkremenek/swift,tkremenek/swift,arvedviehweger/swift,shajrawi/swift,djwbrown/swift,parkera/swift