When two function types have equivalent (but distinct) noexcept specifications, creat...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 18 Oct 2016 19:29:18 +0000 (19:29 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 18 Oct 2016 19:29:18 +0000 (19:29 +0000)
commit2a2cda58f87d272c0c68c0d9f4b4d611f4aa44aa
treeca7005b0ffa521beeede6b34a8f7d756f77e3a42
parent476560aac483d419b6a3e7143d6499f1d13d7b8d
When two function types have equivalent (but distinct) noexcept specifications, create separate type sugar nodes. This is necessary so that substitution into the exception specification will substitute into the correct expression.

llvm-svn: 284519
clang/lib/AST/ASTContext.cpp
clang/test/SemaCXX/cxx0x-defaulted-functions.cpp
clang/test/SemaCXX/cxx1z-noexcept-function-type.cpp