]> granicus.if.org Git - clang/commit
[modules] When either redecl chain merging or an update record causes us to
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 21 Mar 2015 00:58:54 +0000 (00:58 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 21 Mar 2015 00:58:54 +0000 (00:58 +0000)
commit903d93dbb0e71cd47676b5e9f18f038ee2f56dd5
tree38d5e3d5b6a4723811db8f495fa4c9b395bf2d0b
parentb690b4e66241785e4ab37b936d100afbda2d27f4
[modules] When either redecl chain merging or an update record causes us to
give an exception specification to a declaration that didn't have an exception
specification in any of our imported modules, emit an update record ourselves.
Without this, code importing the current module would not see an exception
specification that we could see and might have relied on.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232870 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/ASTReader.h
lib/Sema/SemaExceptionSpec.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
test/Modules/Inputs/update-exception-spec/a.h [new file with mode: 0644]
test/Modules/Inputs/update-exception-spec/b.h [new file with mode: 0644]
test/Modules/Inputs/update-exception-spec/c.h [new file with mode: 0644]
test/Modules/Inputs/update-exception-spec/module.modulemap [new file with mode: 0644]
test/Modules/update-exception-spec.cpp [new file with mode: 0644]