]> granicus.if.org Git - clang/commit
[Sema] Allow C conversions in C overload logic
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Sun, 11 Oct 2015 20:13:20 +0000 (20:13 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Sun, 11 Oct 2015 20:13:20 +0000 (20:13 +0000)
commit4c13b94b03f9816a46b90ada29cc20faa0edf25f
treecd21de5113443e85fa7edb09ffb89595b3519041
parentbef3a5b7e535a42e509705739582930a79621f20
[Sema] Allow C conversions in C overload logic

C allows for some implicit conversions that C++ does not, e.g. void* ->
char*. This patch teaches clang that these conversions are okay when
dealing with overloads in C.

Differential Revision: http://reviews.llvm.org/D13604

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249995 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Overload.h
include/clang/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOverload.cpp
test/Sema/overloadable.c