r328837 - [analyzer] Fix target triple for autorelease-write-checker test

George Karpenkov via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 29 15:28:04 PDT 2018


Author: george.karpenkov
Date: Thu Mar 29 15:28:04 2018
New Revision: 328837

URL: http://llvm.org/viewvc/llvm-project?rev=328837&view=rev
Log:
[analyzer] Fix target triple for autorelease-write-checker test

Modified:
    cfe/trunk/test/Analysis/autoreleasewritechecker_test.m

Modified: cfe/trunk/test/Analysis/autoreleasewritechecker_test.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/autoreleasewritechecker_test.m?rev=328837&r1=328836&r2=328837&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/autoreleasewritechecker_test.m (original)
+++ cfe/trunk/test/Analysis/autoreleasewritechecker_test.m Thu Mar 29 15:28:04 2018
@@ -1,4 +1,5 @@
-// RUN: %clang_analyze_cc1 -DARC -fobjc-arc -analyzer-checker=core,osx.cocoa.AutoreleaseWrite %s -fblocks -verify
+// RUN: %clang_analyze_cc1 -DARC -fobjc-arc -analyzer-checker=core,osx.cocoa.AutoreleaseWrite %s -triple x86_64-darwin -fblocks -verify
+// RUN: %clang_analyze_cc1 -DNOARC -analyzer-checker=core,osx.cocoa.AutoreleaseWrite %s -fblocks -triple x86_64-darwin -verify
 
 
 typedef signed char BOOL;




More information about the cfe-commits mailing list