]> granicus.if.org Git - clang/commit
Preserve exception specs in function decl merging.
authorEli Friedman <eli.friedman@gmail.com>
Fri, 6 Sep 2013 21:09:09 +0000 (21:09 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 6 Sep 2013 21:09:09 +0000 (21:09 +0000)
commit130fcc8097ac79c770d480765d4f79b428b285b8
treef35cd7f537212e420ae5e9ca2821e2476dd21eb0
parent325047fdb5770c97149a977b64ac6cce5c3be427
Preserve exception specs in function decl merging.

Exception specs are not part of the canonical type, but we shouldn't
drop them just because we merged a noreturn attribute.

Fixes PR17110.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190206 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/CXX/except/except.spec/p4.cpp