]> granicus.if.org Git - clang/commitdiff
Restore order to placate test. I had no real reason to switch them.
authorJohn McCall <rjmccall@apple.com>
Fri, 1 Mar 2013 01:38:54 +0000 (01:38 +0000)
committerJohn McCall <rjmccall@apple.com>
Fri, 1 Mar 2013 01:38:54 +0000 (01:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176328 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenFunction.h

index f955db637ca7526b9dd24ec3b2bf98c364e4b0d9..cd738f0b3856d1c1e83e4ed875ae553a94f359f4 100644 (file)
@@ -863,8 +863,8 @@ public:
     /// \brief Force the emission of cleanups now, instead of waiting
     /// until this object is destroyed.
     void ForceCleanup() {
-      endLexicalScope();
       RunCleanupsScope::ForceCleanup();
+      endLexicalScope();
     }
 
   private: