Sema: Refactor validateGenericFuncOrSubscriptSignature()
Sema: Refactor validateGenericFuncOrSubscriptSignature()

Instead of using typeCheckParameterList() / validateType() to get the structural
types for parameters and results, use resolveType() directly. This way we avoid
the side effect of writing into the TypeLoc, elimianting the hack of clearing the
TypeLoc later.

This is just a baby step toward request-ification of getGenericSignature().

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