]> granicus.if.org Git - clang/commit
When finishing a function definition, leave the function definition *after*
authorJohn McCall <rjmccall@apple.com>
Thu, 25 Mar 2010 22:08:03 +0000 (22:08 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 25 Mar 2010 22:08:03 +0000 (22:08 +0000)
commit90f97892eb8b2ecfcf633c9df01e2504686d4d96
tree11ad57ae7fb50fd6ef16340faa386cd7ec4ca719
parent1b23fe61cf4437668280212d0ad6cb7196f51529
When finishing a function definition, leave the function definition *after*
doing all the cleanup tasks and checks.  This gives us the proper context for
checking access to base and member destructors.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99559 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/CXX/class.access/p4.cpp