Move Type::toCBuffer2 into the visitor
Don't call toCBuffer2 internally
Move TypeQualified::toCBuffer2Helper into the visitor
Merge attributesToCBuffer into functionToCBuffer2
Factor out safety and linkage printing
Rename functionToCBuffer2 to something sensible and move it inside the visitor class
Rename toCBufferWithAttributes and move it into a free function
Move Tfunction and Terror special cases into Type::toCBuffer
Move toCBuffer3 into visitWithMask
Replace infinite recursion bug with assert
Rename toCBuffer2 to toBufferShort
Remove unused constructor args
Move Type::toCBuffer into a free function