diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-06-09 03:53:18 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-06-09 03:53:18 +0000 |
commit | 5a57efd7bf88a4a13018e0471ded8063a4abe8af (patch) | |
tree | 413e2332fc0ba640561634578a3fea72271f6027 /lib/Analysis/PrintfFormatString.cpp | |
parent | e140af3e27016f902146023fba7680b43043ec07 (diff) |
Tweak our handling of the notion of a standard conversion sequence
being a subsequence of another standard conversion sequence. Instead
of requiring exact type equality for the second conversion step,
require type *similarity*, which is type equality with cv-qualifiers
removed at all levels. This appears to match the behavior of EDG and
VC++ (albeit not GCC), and feels more intuitive. Big thanks to John
for the line of reasoning that supports this change: since
cv-qualifiers are orthogonal to the second conversion step, we should
ignore them in the type comparison.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/PrintfFormatString.cpp')
0 files changed, 0 insertions, 0 deletions