commit | c6daf0b29d6c48a99cb1ad707973a7e6dfcafd58 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Feb 17 06:52:25 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Feb 17 06:52:25 2011 +0000 |
tree | 857832d4d4283bd0e16d721bd6ef119f15179a1a | |
parent | 6810630bb00ba2944cbeb54834f38f69dbddfd7f [diff] |
When printing a qualified type, look through a substituted template 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