refactor the collectAllocationUses functions into a new ElementUseCollector helper class to enable future enhancements.
refactor the collectAllocationUses functions into a new
ElementUseCollector helper class to enable future enhancements.

No functionality change.


Swift SVN r7196

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