Code completion: don't include instance variables and instance functions in code completion results inside static functions
Code completion: don't include instance variables and instance functions in
code completion results inside static functions

Referencing an instance function from a static function is allowed by the
language, but the compiler crashes on this right now.  (rdar://14432081)


Swift SVN r6390

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