[modules] Don't clobber a destructor's operator delete when adding another one;
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 10 Mar 2015 01:41:22 +0000 (01:41 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 10 Mar 2015 01:41:22 +0000 (01:41 +0000)
commitf81340096ddf2b5a75eee94a09ad30a7501ed816
treeb3786a40e60f737643a705af917ae285ecf0a903
parent63acdfdeb26616dfa1d9657fa666afc9b9440a2a
[modules] Don't clobber a destructor's operator delete when adding another one;
move the operator delete updating into a separate update record so we can cope
with updating another module's destructor's operator delete.

llvm-svn: 231735
13 files changed:
clang/include/clang/AST/ASTMutationListener.h
clang/include/clang/AST/DeclCXX.h
clang/include/clang/Serialization/ASTWriter.h
clang/lib/AST/DeclCXX.cpp
clang/lib/Frontend/MultiplexConsumer.cpp
clang/lib/Serialization/ASTCommon.h
clang/lib/Serialization/ASTReaderDecl.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/lib/Serialization/ASTWriterDecl.cpp
clang/test/Modules/Inputs/cxx-dtor/a.h [new file with mode: 0644]
clang/test/Modules/Inputs/cxx-dtor/b.h [new file with mode: 0644]
clang/test/Modules/Inputs/cxx-dtor/module.modulemap [new file with mode: 0644]
clang/test/Modules/cxx-dtor.cpp [new file with mode: 0644]