]> granicus.if.org Git - clang/commitdiff
putback r116782, it's a safe fix and should not break windows
authorAndrew Trick <atrick@apple.com>
Thu, 21 Oct 2010 03:59:06 +0000 (03:59 +0000)
committerAndrew Trick <atrick@apple.com>
Thu, 21 Oct 2010 03:59:06 +0000 (03:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116994 91177308-0d34-0410-b5e6-96231b3b80d8

test/Coverage/html-diagnostics.c

index 81b2cfa588e3214756a1c7e96ab9c7f9f3c008fe..be820fb90f29b7df7e3b54df48868b2f2ae6c1a7 100644 (file)
@@ -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;