aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/type-formatting.cpp
AgeCommit message (Collapse)Author
2011-02-17When printing a qualified type, look through a substituted templateDouglas Gregor
parameter type to see what's behind it, so that we don't end up printing silly things like "float const *" when "const float *" would make more sense. Also, replace the pile of "isa" tests with a simple switch enumerating all of the cases, making a few more obvious cases use prefix qualifiers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125729 91177308-0d34-0410-b5e6-96231b3b80d8