[cfe-commits] r148892 - /cfe/trunk/test/SemaObjC/builtin_objc_nslog.m

Jean-Daniel Dupas devlists at shadowlab.org
Tue Jan 24 17:02:26 PST 2012


Author: jddupas
Date: Tue Jan 24 19:02:26 2012
New Revision: 148892

URL: http://llvm.org/viewvc/llvm-project?rev=148892&view=rev
Log:
Fix test on cygwin (where va_list expands to a different type)

Modified:
    cfe/trunk/test/SemaObjC/builtin_objc_nslog.m

Modified: cfe/trunk/test/SemaObjC/builtin_objc_nslog.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/builtin_objc_nslog.m?rev=148892&r1=148891&r2=148892&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/builtin_objc_nslog.m (original)
+++ cfe/trunk/test/SemaObjC/builtin_objc_nslog.m Tue Jan 24 19:02:26 2012
@@ -8,6 +8,6 @@
 }
 
 void f2(id str, va_list args) {
-  NSLogv(@"%@", args); // expected-warning {{implicitly declaring C library function 'NSLogv' with type 'void (id, __va_list_tag *)'}} \
+  NSLogv(@"%@", args); // expected-warning {{implicitly declaring C library function 'NSLogv' with type }} \
   // expected-note {{please include the header <Foundation/NSObjCRuntime.h> or explicitly provide a declaration for 'NSLogv'}}
 }





More information about the cfe-commits mailing list