[ASTPrinter] Simplify code using 'getDeclaredType()', as suggested by Ben.
[ASTPrinter] Simplify code using 'getDeclaredType()', as suggested by Ben.

codestergit/swift,tinysun212/swift-windows,tinysun212/swift-windows,sschiau/swift,airspeedswift/swift,xedin/swift,benlangmuir/swift,nathawes/swift,deyton/swift,allevato/swift,gmilos/swift,parkera/swift,alblue/swift,therealbnut/swift,lorentey/swift,jmgc/swift,therealbnut/swift,xwu/swift,atrick/swift,CodaFi/swift,arvedviehweger/swift,xedin/swift,kperryua/swift,airspeedswift/swift,tinysun212/swift-windows,alblue/swift,shahmishal/swift,alblue/swift,lorentey/swift,manavgabhawala/swift,allevato/swift,therealbnut/swift,hooman/swift,danielmartin/swift,austinzheng/swift,milseman/swift,rudkx/swift,felix91gr/swift,therealbnut/swift,bitjammer/swift,shahmishal/swift,apple/swift,stephentyrone/swift,manavgabhawala/swift,amraboelela/swift,devincoughlin/swift,hooman/swift,ben-ng/swift,Jnosh/swift,calebd/swift,Jnosh/swift,frootloops/swift,jtbandes/swift,felix91gr/swift,xwu/swift,zisko/swift,hughbe/swift,glessard/swift,uasys/swift,tardieu/swift,zisko/swift,stephentyrone/swift,jmgc/swift,frootloops/swift,deyton/swift,jtbandes/swift,gribozavr/swift,arvedviehweger/swift,hooman/swift,harlanhaskins/swift,shajrawi/swift,ahoppen/swift,harlanhaskins/swift,modocache/swift,codestergit/swift,aschwaighofer/swift,ben-ng/swift,deyton/swift,JaSpa/swift,benlangmuir/swift,gregomni/swift,harlanhaskins/swift,stephentyrone/swift,brentdax/swift,hughbe/swift,tardieu/swift,jmgc/swift,modocache/swift,karwa/swift,jckarter/swift,atrick/swift,Jnosh/swift,huonw/swift,uasys/swift,nathawes/swift,roambotics/swift,therealbnut/swift,devincoughlin/swift,karwa/swift,kperryua/swift,manavgabhawala/swift,glessard/swift,deyton/swift,arvedviehweger/swift,harlanhaskins/swift,tjw/swift,rudkx/swift,glessard/swift,modocache/swift,kperryua/swift,jopamer/swift,manavgabhawala/swift,xwu/swift,jckarter/swift,tjw/swift,gottesmm/swift,JaSpa/swift,gmilos/swift,benlangmuir/swift,jckarter/swift,sschiau/swift,allevato/swift,CodaFi/swift,roambotics/swift,natecook1000/swift,xedin/swift,devincoughlin/swift,rudkx/swift,xedin/swift,milseman/swift,return/swift,gregomni/swift,airspeedswift/swift,codestergit/swift,sschiau/swift,jtbandes/swift,gottesmm/swift,brentdax/swift,shajrawi/swift,natecook1000/swift,djwbrown/swift,shajrawi/swift,swiftix/swift,allevato/swift,sschiau/swift,gmilos/swift,deyton/swift,felix91gr/swift,JaSpa/swift,stephentyrone/swift,aschwaighofer/swift,tinysun212/swift-windows,bitjammer/swift,milseman/swift,allevato/swift,amraboelela/swift,modocache/swift,IngmarStein/swift,gribozavr/swift,huonw/swift,gregomni/swift,xwu/swift,tjw/swift,OscarSwanros/swift,IngmarStein/swift,lorentey/swift,swiftix/swift,arvedviehweger/swift,codestergit/swift,aschwaighofer/swift,apple/swift,kperryua/swift,OscarSwanros/swift,JaSpa/swift,gottesmm/swift,calebd/swift,gribozavr/swift,stephentyrone/swift,CodaFi/swift,uasys/swift,aschwaighofer/swift,djwbrown/swift,tardieu/swift,deyton/swift,natecook1000/swift,benlangmuir/swift,kperryua/swift,hooman/swift,gottesmm/swift,practicalswift/swift,milseman/swift,alblue/swift,calebd/swift,sschiau/swift,return/swift,brentdax/swift,practicalswift/swift,jckarter/swift,practicalswift/swift,atrick/swift,jckarter/swift,nathawes/swift,kstaring/swift,practicalswift/swift,airspeedswift/swift,ben-ng/swift,parkera/swift,lorentey/swift,OscarSwanros/swift,shajrawi/swift,parkera/swift,felix91gr/swift,deyton/swift,IngmarStein/swift,allevato/swift,kstaring/swift,return/swift,gmilos/swift,tkremenek/swift,frootloops/swift,tjw/swift,manavgabhawala/swift,jmgc/swift,jckarter/swift,airspeedswift/swift,zisko/swift,gregomni/swift,glessard/swift,practicalswift/swift,codestergit/swift,gottesmm/swift,austinzheng/swift,huonw/swift,swiftix/swift,karwa/swift,lorentey/swift,jtbandes/swift,danielmartin/swift,OscarSwanros/swift,gribozavr/swift,nathawes/swift,calebd/swift,IngmarStein/swift,uasys/swift,CodaFi/swift,JGiola/swift,manavgabhawala/swift,stephentyrone/swift,bitjammer/swift,felix91gr/swift,karwa/swift,gregomni/swift,arvedviehweger/swift,ahoppen/swift,benlangmuir/swift,austinzheng/swift,tkremenek/swift,kstaring/swift,swiftix/swift,CodaFi/swift,alblue/swift,swiftix/swift,parkera/swift,alblue/swift,uasys/swift,arvedviehweger/swift,kstaring/swift,brentdax/swift,rudkx/swift,kperryua/swift,parkera/swift,xwu/swift,gottesmm/swift,roambotics/swift,parkera/swift,shahmishal/swift,jckarter/swift,atrick/swift,bitjammer/swift,CodaFi/swift,amraboelela/swift,return/swift,xedin/swift,austinzheng/swift,harlanhaskins/swift,hooman/swift,lorentey/swift,ben-ng/swift,IngmarStein/swift,hughbe/swift,natecook1000/swift,frootloops/swift,gribozavr/swift,aschwaighofer/swift,JaSpa/swift,jopamer/swift,ahoppen/swift,harlanhaskins/swift,tkremenek/swift,tinysun212/swift-windows,JGiola/swift,shajrawi/swift,devincoughlin/swift,OscarSwanros/swift,OscarSwanros/swift,gmilos/swift,practicalswift/swift,airspeedswift/swift,alblue/swift,felix91gr/swift,swiftix/swift,jtbandes/swift,karwa/swift,shajrawi/swift,Jnosh/swift,kstaring/swift,gmilos/swift,calebd/swift,milseman/swift,nathawes/swift,shahmishal/swift,djwbrown/swift,xwu/swift,aschwaighofer/swift,hughbe/swift,amraboelela/swift,stephentyrone/swift,djwbrown/swift,nathawes/swift,uasys/swift,codestergit/swift,tkremenek/swift,apple/swift,djwbrown/swift,parkera/swift,jmgc/swift,xedin/swift,xedin/swift,tkremenek/swift,hughbe/swift,tjw/swift,apple/swift,gribozavr/swift,hughbe/swift,JGiola/swift,modocache/swift,kstaring/swift,tjw/swift,gregomni/swift,return/swift,milseman/swift,allevato/swift,roambotics/swift,bitjammer/swift,modocache/swift,glessard/swift,tardieu/swift,bitjammer/swift,felix91gr/swift,natecook1000/swift,huonw/swift,danielmartin/swift,frootloops/swift,calebd/swift,return/swift,modocache/swift,harlanhaskins/swift,huonw/swift,swiftix/swift,hughbe/swift,austinzheng/swift,shahmishal/swift,djwbrown/swift,danielmartin/swift,atrick/swift,tkremenek/swift,lorentey/swift,gmilos/swift,aschwaighofer/swift,manavgabhawala/swift,milseman/swift,gribozavr/swift,practicalswift/swift,jopamer/swift,devincoughlin/swift,brentdax/swift,airspeedswift/swift,shajrawi/swift,danielmartin/swift,IngmarStein/swift,jtbandes/swift,huonw/swift,jopamer/swift,zisko/swift,tardieu/swift,shahmishal/swift,jopamer/swift,benlangmuir/swift,karwa/swift,xwu/swift,gottesmm/swift,amraboelela/swift,shahmishal/swift,frootloops/swift,tkremenek/swift,karwa/swift,codestergit/swift,austinzheng/swift,brentdax/swift,zisko/swift,tardieu/swift,lorentey/swift,rudkx/swift,sschiau/swift,amraboelela/swift,shajrawi/swift,danielmartin/swift,ben-ng/swift,danielmartin/swift,jopamer/swift,natecook1000/swift,practicalswift/swift,JGiola/swift,brentdax/swift,apple/swift,huonw/swift,gribozavr/swift,parkera/swift,amraboelela/swift,uasys/swift,roambotics/swift,Jnosh/swift,atrick/swift,arvedviehweger/swift,calebd/swift,ahoppen/swift,apple/swift,jmgc/swift,kperryua/swift,jmgc/swift,tardieu/swift,frootloops/swift,rudkx/swift,bitjammer/swift,ahoppen/swift,tinysun212/swift-windows,ben-ng/swift,JaSpa/swift,devincoughlin/swift,JGiola/swift,therealbnut/swift,austinzheng/swift,jtbandes/swift,kstaring/swift,hooman/swift,sschiau/swift,natecook1000/swift,Jnosh/swift,xedin/swift,ben-ng/swift,hooman/swift,devincoughlin/swift,zisko/swift,devincoughlin/swift,IngmarStein/swift,JGiola/swift,OscarSwanros/swift,Jnosh/swift,CodaFi/swift,sschiau/swift,karwa/swift,JaSpa/swift,tjw/swift,roambotics/swift,zisko/swift,jopamer/swift,therealbnut/swift,glessard/swift,djwbrown/swift,return/swift,nathawes/swift,ahoppen/swift,shahmishal/swift,tinysun212/swift-windows