aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGRecordLayoutBuilder.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-04-26 23:16:46 +0000
committerDouglas Gregor <dgregor@apple.com>2011-04-26 23:16:46 +0000
commit028ea4bf0c643e0e2a8fa086c28beb0d5b594ba7 (patch)
treea9b8167be3d77ebfcaa31b09154a02c579e3ce94 /lib/CodeGen/CGRecordLayoutBuilder.cpp
parent7412494982c8b50c90961302c3a718633b2c3ab7 (diff)
When computing Objective-C pointer conversions in C++, retain
the qualifiers (e.g., GC qualifiers) on the type we're converting from, rather than just blindly adopting the qualifiers of the type we're converting to or dropping qualifiers altogether. As an added bonus, properly diagnose GC qualifier mismatches to eliminate a crash in the overload resolution failure diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130255 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGRecordLayoutBuilder.cpp')
0 files changed, 0 insertions, 0 deletions