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
Showing
- lib/Serialization/ASTReaderDecl.cpp 15 additions, 6 deletionslib/Serialization/ASTReaderDecl.cpp
- test/Modules/Inputs/PR21687/a.h 1 addition, 0 deletionstest/Modules/Inputs/PR21687/a.h
- test/Modules/Inputs/PR21687/b.h 2 additions, 0 deletionstest/Modules/Inputs/PR21687/b.h
- test/Modules/Inputs/PR21687/c.h 4 additions, 0 deletionstest/Modules/Inputs/PR21687/c.h
- test/Modules/Inputs/PR21687/module.modulemap 3 additions, 0 deletionstest/Modules/Inputs/PR21687/module.modulemap
- test/Modules/pr21687.cpp 3 additions, 0 deletionstest/Modules/pr21687.cpp
Loading
Please register or sign in to comment