]> granicus.if.org Git - clang/commit
When destroying a translation unit, deallocate its owned declarations in reverse...
authorDouglas Gregor <dgregor@apple.com>
Mon, 27 Oct 2008 12:50:38 +0000 (12:50 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 27 Oct 2008 12:50:38 +0000 (12:50 +0000)
commit3dda64ec0fad2fa60d882565d135ff598897fa9d
tree5af4d49fbb89e1121682d04ba281bfccc2d47692
parent4a1513e535f9db2027c60bc96a4276435743857c
When destroying a translation unit, deallocate its owned declarations in reverse order, because there may be dependencies among the declarations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58244 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
lib/AST/TranslationUnit.cpp
test/SemaCXX/fntype-decl.cpp