SILGen: Lazily emit ClangImporter-synthesized conformances even when they're incomplete
SILGen: Lazily emit ClangImporter-synthesized conformances even when they're incomplete

Currently Sema completes all _ObjectiveCBridgeable conformances it thinks
are needed in SILGen and runtime dynamic casts, but that's about to change.

When emitting conformances for an imported type we would skip incomplete
conformances. Now that we have a long-lived type checker instance, there
is no longer any reason to do that. Looking up witnesses from an
incomplete conformance will trigger conformance checking as needed.

Furthermore, conformances emitted in this path are emitted lazily, so if
a conformance is not used, no conformance checking will take place.

A change in behavior only occurs after subsequent changes to remove Sema's
eager checking of ClangImporter-synthesized _ObjectiveCBridgeable
conformances; at that point, we must be prepared to lazily emit these
incomplete conformances.

tkremenek/swift,roambotics/swift,ahoppen/swift,xedin/swift,allevato/swift,gregomni/swift,xedin/swift,nathawes/swift,airspeedswift/swift,glessard/swift,tkremenek/swift,shahmishal/swift,jckarter/swift,ahoppen/swift,parkera/swift,parkera/swift,shajrawi/swift,xedin/swift,gribozavr/swift,sschiau/swift,shajrawi/swift,rudkx/swift,jckarter/swift,shahmishal/swift,apple/swift,jmgc/swift,shahmishal/swift,ahoppen/swift,benlangmuir/swift,nathawes/swift,jmgc/swift,harlanhaskins/swift,allevato/swift,xwu/swift,aschwaighofer/swift,benlangmuir/swift,gregomni/swift,hooman/swift,allevato/swift,sschiau/swift,gribozavr/swift,benlangmuir/swift,jmgc/swift,shahmishal/swift,devincoughlin/swift,stephentyrone/swift,hooman/swift,hooman/swift,allevato/swift,hooman/swift,lorentey/swift,devincoughlin/swift,harlanhaskins/swift,airspeedswift/swift,shajrawi/swift,tkremenek/swift,aschwaighofer/swift,xwu/swift,xwu/swift,parkera/swift,jckarter/swift,devincoughlin/swift,roambotics/swift,gribozavr/swift,sschiau/swift,lorentey/swift,jmgc/swift,hooman/swift,stephentyrone/swift,roambotics/swift,ahoppen/swift,shajrawi/swift,devincoughlin/swift,parkera/swift,atrick/swift,lorentey/swift,gregomni/swift,CodaFi/swift,hooman/swift,sschiau/swift,benlangmuir/swift,CodaFi/swift,xwu/swift,roambotics/swift,rudkx/swift,tkremenek/swift,airspeedswift/swift,atrick/swift,ahoppen/swift,sschiau/swift,sschiau/swift,JGiola/swift,devincoughlin/swift,atrick/swift,xedin/swift,xedin/swift,shajrawi/swift,CodaFi/swift,rudkx/swift,xedin/swift,devincoughlin/swift,gregomni/swift,karwa/swift,aschwaighofer/swift,jckarter/swift,karwa/swift,atrick/swift,JGiola/swift,harlanhaskins/swift,karwa/swift,ahoppen/swift,rudkx/swift,aschwaighofer/swift,gribozavr/swift,airspeedswift/swift,lorentey/swift,CodaFi/swift,parkera/swift,glessard/swift,harlanhaskins/swift,aschwaighofer/swift,apple/swift,glessard/swift,atrick/swift,airspeedswift/swift,nathawes/swift,gribozavr/swift,karwa/swift,karwa/swift,benlangmuir/swift,tkremenek/swift,glessard/swift,shahmishal/swift,jckarter/swift,CodaFi/swift,nathawes/swift,allevato/swift,shahmishal/swift,airspeedswift/swift,parkera/swift,hooman/swift,glessard/swift,stephentyrone/swift,atrick/swift,allevato/swift,karwa/swift,stephentyrone/swift,stephentyrone/swift,xedin/swift,shajrawi/swift,glessard/swift,devincoughlin/swift,roambotics/swift,stephentyrone/swift,shahmishal/swift,roambotics/swift,shahmishal/swift,xwu/swift,nathawes/swift,nathawes/swift,jmgc/swift,jmgc/swift,jckarter/swift,rudkx/swift,sschiau/swift,gribozavr/swift,rudkx/swift,karwa/swift,gribozavr/swift,benlangmuir/swift,nathawes/swift,apple/swift,shajrawi/swift,lorentey/swift,jckarter/swift,gregomni/swift,lorentey/swift,sschiau/swift,harlanhaskins/swift,apple/swift,harlanhaskins/swift,lorentey/swift,airspeedswift/swift,parkera/swift,apple/swift,xedin/swift,gregomni/swift,CodaFi/swift,stephentyrone/swift,xwu/swift,xwu/swift,JGiola/swift,tkremenek/swift,karwa/swift,gribozavr/swift,parkera/swift,tkremenek/swift,lorentey/swift,devincoughlin/swift,JGiola/swift,CodaFi/swift,shajrawi/swift,JGiola/swift,jmgc/swift,aschwaighofer/swift,allevato/swift,JGiola/swift,harlanhaskins/swift,apple/swift,aschwaighofer/swift