r177934 - Fix testcase.

Ted Kremenek kremenek at apple.com
Mon Mar 25 16:05:40 PDT 2013


Author: kremenek
Date: Mon Mar 25 18:05:40 2013
New Revision: 177934

URL: http://llvm.org/viewvc/llvm-project?rev=177934&view=rev
Log:
Fix testcase.

Modified:
    cfe/trunk/test/FixIt/format-darwin.m

Modified: cfe/trunk/test/FixIt/format-darwin.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/FixIt/format-darwin.m?rev=177934&r1=177933&r2=177934&view=diff
==============================================================================
--- cfe/trunk/test/FixIt/format-darwin.m (original)
+++ cfe/trunk/test/FixIt/format-darwin.m Mon Mar 25 18:05:40 2013
@@ -215,6 +215,6 @@ void testCapitals() {
 
 void testLayeredTypedefs(OSStatus i) {
   printf("%s", i); // expected-warning {{values of type 'OSStatus' should not be used as format arguments}}
-  // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:11-[[@LINE-1]]:13}:"d"
+  // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:11-[[@LINE-1]]:13}:"%d"
 }
 





More information about the cfe-commits mailing list