Updated the playground transform to log brace entries and exits.
Updated the playground transform to log brace
entries and exits.

  - Added support to buildLoggerCall for different
    logger functions;

  - Added support to buildLoggerCall to handle
    source locations that fall outside the
    user-entered expression text; and

  - Added the necessary logging functions to the
    functions we check for before adding our
    instrumentation.

This involved some minor refactoring.  I still have
to add a stack of scopes that I can pop out of when
I see a break, continue, or return.


Swift SVN r16197

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