diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-12-01 21:43:58 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-12-01 21:43:58 +0000 |
commit | 8d6d06761fcb7550a47796fa7198ac3434f2ff09 (patch) | |
tree | c90a6686355fa7afd70d0d5d957727c0db6e8537 /clang/lib/Checker/BasicValueFactory.cpp | |
parent | 3670ba5c8749e1106588dbaa2676f5f674291509 (diff) | |
download | bcm5719-llvm-8d6d06761fcb7550a47796fa7198ac3434f2ff09.tar.gz bcm5719-llvm-8d6d06761fcb7550a47796fa7198ac3434f2ff09.zip |
Improve our handling of cv-qualifiers in Objective-C pointer
conversions. Previously, we would end up collapsing qualification
conversions into the Objective-C pointer conversion step, including
(possibly) stripping qualifiers that shouldn't be removed.
This generalizes BuildSimilarlyQualifiedPointerType() to also work on
Objective-C object pointers, then eliminates the (redundant, not
totally correct) BuildSimilarlyQualifiedObjCObjectPointerType()
function.
Fixes <rdar://problem/8714395>.
llvm-svn: 120607
Diffstat (limited to 'clang/lib/Checker/BasicValueFactory.cpp')
0 files changed, 0 insertions, 0 deletions