]> granicus.if.org Git - clang/commit
Bail out early to avoid comparing the internals of two conversion sequences of
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 18 Apr 2010 12:05:54 +0000 (12:05 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 18 Apr 2010 12:05:54 +0000 (12:05 +0000)
commitb6eee077b23fa526e89570f01ec52c6ad335827b
tree68de33174d9b64052b7d4eebb2863e20d6ad7780
parent66821b5515df8a366579d023e472f843ecfa59b2
Bail out early to avoid comparing the internals of two conversion sequences of
different kinds (aka garbage). This happens if we're comparing a standard
conversion sequence to an ambiguous one which have the same KindRank.

Found by valgrind.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101717 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp