]> granicus.if.org Git - clang/commit
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)
commit3a71bb8341973a3d2478a92c0b3d42931631f0f5
tree1de151cc0c777d476b931029b1c55d2f9f27a7fa
parentfd6e857ed0f5ab95e16b98b9696880dd39f1e3bb
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231738 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTReaderDecl.cpp
test/Modules/Inputs/PR21687/a.h [new file with mode: 0644]
test/Modules/Inputs/PR21687/b.h [new file with mode: 0644]
test/Modules/Inputs/PR21687/c.h [new file with mode: 0644]
test/Modules/Inputs/PR21687/module.modulemap [new file with mode: 0644]
test/Modules/pr21687.cpp [new file with mode: 0644]