p0012: Teach resolving address of overloaded function with dependent exception
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 1 Nov 2016 01:31:23 +0000 (01:31 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 1 Nov 2016 01:31:23 +0000 (01:31 +0000)
commit9095e5bf7e4fc06e3b683228ac8da975fc254a55
tree5a2624bb5f1f96c6f707f02b4b83502631c7a1f0
parente322332a096aa2c1862a1c25239e3ec2dfc9346a
p0012: Teach resolving address of overloaded function with dependent exception
specification to resolve the exception specification as part of the type check,
in C++1z onwards. This is not actually part of P0012 / CWG1330 rules for when
an exception specification is "needed", but is necessary for sanity.

llvm-svn: 285663
clang/lib/Sema/SemaOverload.cpp
clang/lib/Sema/SemaTemplateDeduction.cpp
clang/test/SemaCXX/cxx1z-noexcept-function-type.cpp