r205720 - [analyzer] Re-enable test I accidentally committed commented-out.

Jordan Rose jordan_rose at apple.com
Mon Apr 7 09:36:08 PDT 2014


Author: jrose
Date: Mon Apr  7 11:36:08 2014
New Revision: 205720

URL: http://llvm.org/viewvc/llvm-project?rev=205720&view=rev
Log:
[analyzer] Re-enable test I accidentally committed commented-out.

Thanks, Alex!

Modified:
    cfe/trunk/test/Analysis/dtor.cpp

Modified: cfe/trunk/test/Analysis/dtor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/dtor.cpp?rev=205720&r1=205719&r2=205720&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/dtor.cpp (original)
+++ cfe/trunk/test/Analysis/dtor.cpp Mon Apr  7 11:36:08 2014
@@ -426,11 +426,11 @@ namespace LifetimeExtension {
 
   // This case used to cause an unexpected "Undefined or garbage value returned
   // to caller" warning
-//  bool testNamedCustomDestructor() {
-//    if (CheckCustomDestructor c = CheckCustomDestructor())
-//      return true;
-//    return false;
-//  }
+  bool testNamedCustomDestructor() {
+    if (CheckCustomDestructor c = CheckCustomDestructor())
+      return true;
+    return false;
+  }
 
   bool testMultipleTemporariesCustomDestructor() {
     if (CheckCustomDestructor c = (CheckCustomDestructor(), CheckCustomDestructor()))





More information about the cfe-commits mailing list