Use Clang's stable enum values for serialized diagnostics.
Use Clang's stable enum values for serialized diagnostics.

A refinement of r14545, which was a response to "remarks" being added to Clang.
This commit requires Clang commit r202733.

Swift SVN r14613

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