this is the right check, the problem is that ctors don't have capture lists and aren't FuncDecls.
this is the right check, the problem is that ctors don't have capture lists and aren't FuncDecls.


Swift SVN r8189

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