]> granicus.if.org Git - clang/commit
CXXInfo memory should be released after calling the destructor
authorYaron Keren <yaron.keren@gmail.com>
Sat, 24 May 2014 07:19:25 +0000 (07:19 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Sat, 24 May 2014 07:19:25 +0000 (07:19 +0000)
commit7302a74fb4e753ee1c1b5fefb8f61b90a3cf0d9a
treef232ee0d64763f2fe2dd0466f9406b9a9577d7dd
parentda3cc83afeffc4ca616d6227d0b792a1b1d389c3
CXXInfo memory should be released after calling the destructor
instead of before. The wrong order had no effect since Deallocate()
does nothing right now, but we may replace allocator in the future.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209567 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/RecordLayout.cpp