[cfe-commits] r142895 - /cfe/trunk/test/SemaCXX/warn-thread-safety-analysis.cpp

Richard Smith richard-llvm at metafoo.co.uk
Mon Oct 24 18:05:41 PDT 2011


Author: rsmith
Date: Mon Oct 24 20:05:41 2011
New Revision: 142895

URL: http://llvm.org/viewvc/llvm-project?rev=142895&view=rev
Log:
Tidy up testcase from r142890, spotted by Chandler.

Modified:
    cfe/trunk/test/SemaCXX/warn-thread-safety-analysis.cpp

Modified: cfe/trunk/test/SemaCXX/warn-thread-safety-analysis.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/warn-thread-safety-analysis.cpp?rev=142895&r1=142894&r2=142895&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/warn-thread-safety-analysis.cpp (original)
+++ cfe/trunk/test/SemaCXX/warn-thread-safety-analysis.cpp Mon Oct 24 20:05:41 2011
@@ -1524,10 +1524,6 @@
     }
   };
 
-  struct MutexWrapper {
-    typedef Mutex Lock;
-  };
-
-  template struct IndirectLock<MutexWrapper>; // expected-note {{here}}
+  template struct IndirectLock<int>; // expected-note {{here}}
 
 }





More information about the cfe-commits mailing list