[AST] Remove some redundant code for printing attributes
[AST] Remove some redundant code for printing attributes

And make it less likely to happen again in the future.

CodaFi/swift,apple/swift,amraboelela/swift,xedin/swift,gribozavr/swift,jopamer/swift,rudkx/swift,danielmartin/swift,practicalswift/swift,shahmishal/swift,CodaFi/swift,shahmishal/swift,JGiola/swift,benlangmuir/swift,apple/swift,ahoppen/swift,airspeedswift/swift,gregomni/swift,xwu/swift,glessard/swift,danielmartin/swift,devincoughlin/swift,stephentyrone/swift,jckarter/swift,glessard/swift,jckarter/swift,gribozavr/swift,huonw/swift,brentdax/swift,natecook1000/swift,allevato/swift,natecook1000/swift,shahmishal/swift,stephentyrone/swift,ahoppen/swift,airspeedswift/swift,lorentey/swift,alblue/swift,rudkx/swift,glessard/swift,glessard/swift,rudkx/swift,atrick/swift,brentdax/swift,natecook1000/swift,practicalswift/swift,devincoughlin/swift,karwa/swift,gribozavr/swift,gribozavr/swift,tjw/swift,sschiau/swift,stephentyrone/swift,hooman/swift,lorentey/swift,xwu/swift,atrick/swift,danielmartin/swift,tkremenek/swift,xedin/swift,jmgc/swift,shahmishal/swift,nathawes/swift,shahmishal/swift,nathawes/swift,shahmishal/swift,tkremenek/swift,danielmartin/swift,harlanhaskins/swift,karwa/swift,danielmartin/swift,atrick/swift,nathawes/swift,natecook1000/swift,huonw/swift,tjw/swift,jopamer/swift,glessard/swift,xedin/swift,jmgc/swift,xwu/swift,practicalswift/swift,jmgc/swift,aschwaighofer/swift,CodaFi/swift,practicalswift/swift,ahoppen/swift,aschwaighofer/swift,JGiola/swift,benlangmuir/swift,benlangmuir/swift,airspeedswift/swift,xwu/swift,xedin/swift,practicalswift/swift,jmgc/swift,alblue/swift,xedin/swift,shajrawi/swift,xedin/swift,jmgc/swift,apple/swift,JGiola/swift,harlanhaskins/swift,austinzheng/swift,amraboelela/swift,tkremenek/swift,jckarter/swift,rudkx/swift,atrick/swift,stephentyrone/swift,sschiau/swift,karwa/swift,allevato/swift,allevato/swift,shahmishal/swift,gribozavr/swift,jopamer/swift,parkera/swift,stephentyrone/swift,huonw/swift,danielmartin/swift,gregomni/swift,hooman/swift,gribozavr/swift,jopamer/swift,devincoughlin/swift,nathawes/swift,devincoughlin/swift,CodaFi/swift,atrick/swift,tjw/swift,tkremenek/swift,shajrawi/swift,shajrawi/swift,allevato/swift,gribozavr/swift,tjw/swift,aschwaighofer/swift,jopamer/swift,devincoughlin/swift,amraboelela/swift,airspeedswift/swift,austinzheng/swift,apple/swift,harlanhaskins/swift,harlanhaskins/swift,CodaFi/swift,gregomni/swift,lorentey/swift,brentdax/swift,xwu/swift,atrick/swift,apple/swift,tkremenek/swift,aschwaighofer/swift,huonw/swift,karwa/swift,allevato/swift,hooman/swift,huonw/swift,huonw/swift,alblue/swift,apple/swift,alblue/swift,devincoughlin/swift,glessard/swift,hooman/swift,brentdax/swift,lorentey/swift,austinzheng/swift,gregomni/swift,sschiau/swift,shajrawi/swift,sschiau/swift,benlangmuir/swift,shajrawi/swift,jckarter/swift,JGiola/swift,nathawes/swift,xedin/swift,austinzheng/swift,amraboelela/swift,brentdax/swift,jckarter/swift,natecook1000/swift,sschiau/swift,karwa/swift,jckarter/swift,roambotics/swift,parkera/swift,jmgc/swift,xedin/swift,gregomni/swift,tjw/swift,benlangmuir/swift,parkera/swift,parkera/swift,lorentey/swift,airspeedswift/swift,natecook1000/swift,roambotics/swift,parkera/swift,jckarter/swift,brentdax/swift,karwa/swift,shajrawi/swift,ahoppen/swift,CodaFi/swift,xwu/swift,roambotics/swift,lorentey/swift,ahoppen/swift,gregomni/swift,lorentey/swift,parkera/swift,tkremenek/swift,aschwaighofer/swift,xwu/swift,practicalswift/swift,nathawes/swift,JGiola/swift,airspeedswift/swift,danielmartin/swift,hooman/swift,JGiola/swift,jmgc/swift,sschiau/swift,tjw/swift,tkremenek/swift,huonw/swift,devincoughlin/swift,allevato/swift,parkera/swift,tjw/swift,hooman/swift,sschiau/swift,parkera/swift,jopamer/swift,practicalswift/swift,alblue/swift,practicalswift/swift,natecook1000/swift,roambotics/swift,brentdax/swift,amraboelela/swift,harlanhaskins/swift,alblue/swift,shajrawi/swift,aschwaighofer/swift,CodaFi/swift,rudkx/swift,shahmishal/swift,sschiau/swift,ahoppen/swift,amraboelela/swift,jopamer/swift,airspeedswift/swift,austinzheng/swift,allevato/swift,hooman/swift,shajrawi/swift,rudkx/swift,harlanhaskins/swift,karwa/swift,roambotics/swift,lorentey/swift,gribozavr/swift,karwa/swift,roambotics/swift,benlangmuir/swift,amraboelela/swift,harlanhaskins/swift,alblue/swift,austinzheng/swift,stephentyrone/swift,stephentyrone/swift,aschwaighofer/swift,nathawes/swift,austinzheng/swift,devincoughlin/swift