summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/method-call-path-notes.cpp
diff options
context:
space:
mode:
authorHubert Tong <hubert.reinterpretcast@gmail.com>2019-06-11 14:21:32 +0000
committerHubert Tong <hubert.reinterpretcast@gmail.com>2019-06-11 14:21:32 +0000
commit61c848d2549b5fa4e09776bb0a2d5306e001cb66 (patch)
tree62181b47e97da30ad26b1d00e4a3d5364b003a1d /clang/test/Analysis/method-call-path-notes.cpp
parentbe8d03a512a013f9b6aaec4074caa6e45e844dad (diff)
downloadbcm5719-llvm-61c848d2549b5fa4e09776bb0a2d5306e001cb66.tar.gz
bcm5719-llvm-61c848d2549b5fa4e09776bb0a2d5306e001cb66.zip
Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist"
Following r363007, which reverted r362998, r362996, and r362994, reapply with adjustments for the CRLF differences encountered with Windows. Namely, the `-b` option of `diff` is employed, and the `grep` patterns have `$` replaced with `[[:space:]]*$`. llvm-svn: 363069
Diffstat (limited to 'clang/test/Analysis/method-call-path-notes.cpp')
-rw-r--r--clang/test/Analysis/method-call-path-notes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/method-call-path-notes.cpp b/clang/test/Analysis/method-call-path-notes.cpp
index 0da25117b06..c3d1a99fc92 100644
--- a/clang/test/Analysis/method-call-path-notes.cpp
+++ b/clang/test/Analysis/method-call-path-notes.cpp
@@ -1,6 +1,6 @@
// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output=text -verify %s
// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output=plist-multi-file %s -o %t.plist
-// RUN: cat %t.plist | %diff_plist %S/Inputs/expected-plists/method-call-path-notes.cpp.plist -
+// RUN: %normalize_plist <%t.plist | diff -ub %S/Inputs/expected-plists/method-call-path-notes.cpp.plist -
// Test warning about null or uninitialized pointer values used as instance member
// calls.
OpenPOWER on IntegriCloud