rework how implicitly "direct" property access is being computed in two ways:
rework how implicitly "direct" property access is being computed in two ways:

- Set the direct bit on accesses to "Stored" properties, not just "stored
  with trivial accessors" ones.  This solves a ordering problem when analyzing
  uses of the property before it gets promoted to having trivial accessors.
- Chance our computation of "being directly defined on the type" to look through
  extension declcontexts, so we consider init methods in extensions to be
  directly defined on the type.

This is a prerequisite for other changes I'm working on, NFC from these alone.



Swift SVN r15949

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