[Frontend] For CompilerInstance::performParseOnly() make sure to mark the main buffer so a hashbang is accepted.
[Frontend] For CompilerInstance::performParseOnly() make sure to mark the main buffer so a hashbang is accepted.

Test case on the SourceKit side.
rdar://17282145

Swift SVN r19320

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