]> granicus.if.org Git - clang/commit
Merging r257710:
authorHans Wennborg <hans@hanshq.net>
Mon, 1 Feb 2016 21:40:38 +0000 (21:40 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 1 Feb 2016 21:40:38 +0000 (21:40 +0000)
commit265154b171f5257d82d6aa22f52a39b5d5ff3209
treef975c7f0ae4581bf0d4c2bc4ab8fa9e9412495e3
parentede31aea4a62a166c23babb7657c4847fbd304ad
Merging r257710:
------------------------------------------------------------------------
r257710 | gbiv | 2016-01-13 15:36:34 -0800 (Wed, 13 Jan 2016) | 8 lines

[Sema] Suppress diags in overload resolution.

We were emitting diagnostics from our shiny new C-only overload
resolution mode. This patch attempts to silence all such diagnostics.

This fixes PR26085.
Differential Revision: http://reviews.llvm.org/D16159

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_38@259412 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp
lib/Sema/SemaOverload.cpp
test/SemaObjC/ovl-check.m [new file with mode: 0644]