]> granicus.if.org Git - clang/commit
[modules] When emitting an update record containing the body of a destructor,
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 7 Aug 2014 18:53:08 +0000 (18:53 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 7 Aug 2014 18:53:08 +0000 (18:53 +0000)
commitab7091d2d905e5d9de77169a4778264b74922d80
tree65660cd5e99111b212d6ec7f168471990cf136f4
parente4b4515edb400ceda46216c9d6f861ec1f21c829
[modules] When emitting an update record containing the body of a destructor,
also emit the updated 'operator delete' looked up for that destructor. Switch
from UpdateDecl to an actual update record when this happens due to implicitly
defining a special member function and unify this code path and the one for
instantiating a function definition.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215132 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTCommon.h
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
test/Modules/Inputs/cxx-irgen-left.h
test/Modules/Inputs/cxx-irgen-top.h
test/Modules/cxx-irgen.cpp