summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-11-12 04:53:19 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-11-12 04:53:19 +0000
commit081c215cca971b6b6d7988e9f48e4793ceb374dc (patch)
tree84b5fb2632411229c1399fd518c8c8dc0a42c4b5 /lib/CodeGen/CGExprComplex.cpp
parent669496ba9fa753a238e3f0018b7a6235ec672727 (diff)
downloadclang-081c215cca971b6b6d7988e9f48e4793ceb374dc.tar.gz
clang-081c215cca971b6b6d7988e9f48e4793ceb374dc.tar.bz2
clang-081c215cca971b6b6d7988e9f48e4793ceb374dc.tar.xz
Keep the old function order in CodeGenModule::applyReplacements.
The original decls are created when used. The replacements are created at the end of the TU in reverse order. This makes the original order far better for testing. This is particularly important since the replacement logic could be used even when -mconstructor-aliases is not used, but that would make many tests hard to read. This is a fixed version of r194357 which handles replacing a destructor with another which is an alias to a third one. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions