[cfe-commits] r116782 - /cfe/trunk/test/Coverage/html-diagnostics.c

NAKAMURA Takumi geek4civic at gmail.com
Mon Oct 18 18:11:16 PDT 2010


Author: chapuni
Date: Mon Oct 18 20:11:16 2010
New Revision: 116782

URL: http://llvm.org/viewvc/llvm-project?rev=116782&view=rev
Log:
test/Coverage/html-diagnostics.c: Do not make hit "CHECK: Dereference of null pointer" to the output itself!

Modified:
    cfe/trunk/test/Coverage/html-diagnostics.c

Modified: cfe/trunk/test/Coverage/html-diagnostics.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Coverage/html-diagnostics.c?rev=116782&r1=116781&r2=116782&view=diff
==============================================================================
--- cfe/trunk/test/Coverage/html-diagnostics.c (original)
+++ cfe/trunk/test/Coverage/html-diagnostics.c Mon Oct 18 20:11:16 2010
@@ -3,7 +3,10 @@
 // RUN: cat %t/*.html | FileCheck %s
 
 // CHECK: <h3>Annotated Source Code</h3>
-// CHECK: Dereference of null pointer
+
+// Without tweaking expr, the expr would hit to the line below
+// emitted to the output as comment.
+// CHECK: {{[D]ereference of null pointer}}
 
 void f0(int x) {
   int *p = &x;





More information about the cfe-commits mailing list