[c++1z] Use canonical expression equivalence to determine whether two different
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 18 Oct 2016 06:47:03 +0000 (06:47 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 18 Oct 2016 06:47:03 +0000 (06:47 +0000)
commit99677afd54fba7deb6a5c8c2de52d46cbb344316
treea1a43dd5f7143483e58ecf9e3d34b7cf381b8c76
parent156f6cafc28777dc06515114b4c81fef01ac7d43
[c++1z] Use canonical expression equivalence to determine whether two different
dependent noexcept specifications result in the same canonical function type.

We still use non-canonical hashing when deduplicating type sugar so that
diagnostics will point to the right place.

llvm-svn: 284457
clang/include/clang/AST/Type.h
clang/lib/AST/ASTContext.cpp
clang/lib/AST/Type.cpp
clang/test/SemaCXX/cxx1z-noexcept-function-type.cpp [new file with mode: 0644]