Use a proper enum in the implementation of search path deduplication (r27087)
Use a proper enum in the implementation of search path deduplication (r27087)

No functionality change. Fix-up for rdar://problem/20291720

Swift SVN r27093

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