]> granicus.if.org Git - clang/commit
[Sema] Fix how we set implicit conversion kinds.
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Sat, 3 Sep 2016 00:28:25 +0000 (00:28 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Sat, 3 Sep 2016 00:28:25 +0000 (00:28 +0000)
commit4527486ff1c1f3ab060623f02171b5ae70541ec1
tree40979ffe9242707ae25747b975208225748e5b6a
parent27be2631ce8e197ef5554a0791106297d476dd85
[Sema] Fix how we set implicit conversion kinds.

We have invariants we like to guarantee for the
`ImplicitConversionKind`s in a `StandardConversionSequence`. These
weren't being upheld in code that r280553 touched, so Richard suggested
that we should fix that. See D24113.

I'm not entirely sure how to go about testing this, so no test case is
included. Suggestions welcome.

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