PR21687: when adding a redeclaration of a function with an implicit exception
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 10 Mar 2015 02:00:53 +0000 (02:00 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 10 Mar 2015 02:00:53 +0000 (02:00 +0000)
commit80969754b73ceeeb350354eb97a67027c21862b6
treea685594a551a36df0dea0de6ca546c4b0835568b
parent4eab4bc23c2b5582b3754421d045eeef1bce0016
PR21687: when adding a redeclaration of a function with an implicit exception
specification, update all prior declarations if the new one has an explicit
exception specification and the prior ones don't.

Patch by Vassil Vassilev! Some minor tweaking and test case by me.

llvm-svn: 231738
clang/lib/Serialization/ASTReaderDecl.cpp
clang/test/Modules/Inputs/PR21687/a.h [new file with mode: 0644]
clang/test/Modules/Inputs/PR21687/b.h [new file with mode: 0644]
clang/test/Modules/Inputs/PR21687/c.h [new file with mode: 0644]
clang/test/Modules/Inputs/PR21687/module.modulemap [new file with mode: 0644]
clang/test/Modules/pr21687.cpp [new file with mode: 0644]