diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-11-15 09:20:52 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-11-15 09:20:52 +0000 |
commit | ab15d0e5af616c11b6cbb478c81d0a8eaa9d450a (patch) | |
tree | 6b0df8ec5feaff61900e216906516e88f7cdef18 /lib/Basic/Targets.cpp | |
parent | c07a494b376f75f33759cf09ad188b11ef3fa9d5 (diff) |
When performing a static downcast as part of a static_cast, make sure
that we're dealing with canonical types like the documentation say
(yay, CanQualType). Alas, this is another instance where using
getQualifiers() on a non-canonical QualType got us in trouble.
Good news: with this fix, Clang can now parse all of its own headers!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions