summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-01-27 03:51:04 +0000
committerDouglas Gregor <dgregor@apple.com>2010-01-27 03:51:04 +0000
commit3edc4d5ec3fdce08e5c46db32f5f793a1cf7a3f4 (patch)
tree0564413897d9730ed1a9d8ba7f749214ed4821ca /clang/lib/CodeGen/CodeGenModule.cpp
parent86121519cadca11d8865ec713e248a8740657618 (diff)
downloadbcm5719-llvm-3edc4d5ec3fdce08e5c46db32f5f793a1cf7a3f4.tar.gz
bcm5719-llvm-3edc4d5ec3fdce08e5c46db32f5f793a1cf7a3f4.zip
Fix a major oversight in the comparison of standard conversion
sequences, where we would occasionally determine (incorrectly) that one standard conversion sequence was a proper subset of another when, in fact, they contained completely incomparable conversions. This change records the types in each step within a standard conversion sequence, so that we can check the specific comparison types to determine when one sequence is a proper subset of the other. Fixes this testcase (thanks, Anders!), which was distilled from PR6095 (also thanks to Anders). llvm-svn: 94660
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud