diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-02-17 06:52:25 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-02-17 06:52:25 +0000 |
commit | c6daf0b29d6c48a99cb1ad707973a7e6dfcafd58 (patch) | |
tree | 857832d4d4283bd0e16d721bd6ef119f15179a1a /lib/AST/DeclBase.cpp | |
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
Diffstat (limited to 'lib/AST/DeclBase.cpp')
0 files changed, 0 insertions, 0 deletions