summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/conditional-path-notes.c
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-06-10 23:25:43 +0000
committerReid Kleckner <rnk@google.com>2019-06-10 23:25:43 +0000
commite7ea1834f467db618a8d8872d7eb9adc14ef5aac (patch)
treed329a7b182bc5082fa8bf634be1bf0f98887e29a /clang/test/Analysis/conditional-path-notes.c
parent5062cf599ca2602f03c42404f3951449d24c5c8b (diff)
downloadbcm5719-llvm-e7ea1834f467db618a8d8872d7eb9adc14ef5aac.tar.gz
bcm5719-llvm-e7ea1834f467db618a8d8872d7eb9adc14ef5aac.zip
Revert r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist"
Reverts r362998, r362996, and r362994 because the tests do not pass on Windows due to CRLF changes. Adding back `-w` to diff is not enough, the new grep substitution doesn't work on Windows, and fixing it is non-trivial. llvm-svn: 363007
Diffstat (limited to 'clang/test/Analysis/conditional-path-notes.c')
-rw-r--r--clang/test/Analysis/conditional-path-notes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/conditional-path-notes.c b/clang/test/Analysis/conditional-path-notes.c
index 192814f1b20..fb2dd9f2ca5 100644
--- a/clang/test/Analysis/conditional-path-notes.c
+++ b/clang/test/Analysis/conditional-path-notes.c
@@ -1,6 +1,6 @@
// RUN: %clang_analyze_cc1 %s -analyzer-checker=core.NullDereference -analyzer-output=text -verify
// RUN: %clang_analyze_cc1 %s -analyzer-checker=core.NullDereference -analyzer-output=plist -o %t
-// RUN: %normalize_plist <%t | diff -u %S/Inputs/expected-plists/conditional-path-notes.c.plist -
+// RUN: cat %t | %diff_plist %S/Inputs/expected-plists/conditional-path-notes.c.plist -
void testCondOp(int *p) {
int *x = p ? p : p;
OpenPOWER on IntegriCloud