summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/lambda-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/lambda-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/lambda-notes.cpp')
-rw-r--r--clang/test/Analysis/lambda-notes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/lambda-notes.cpp b/clang/test/Analysis/lambda-notes.cpp
index e436068501c..2cb3abbba76 100644
--- a/clang/test/Analysis/lambda-notes.cpp
+++ b/clang/test/Analysis/lambda-notes.cpp
@@ -1,5 +1,5 @@
// RUN: %clang_analyze_cc1 -std=c++11 -analyzer-checker=core.DivideZero -analyzer-config inline-lambdas=true -analyzer-output plist -verify %s -o %t
-// RUN: tail -n +11 %t | %diff_plist %S/Inputs/expected-plists/lambda-notes.cpp.plist -
+// RUN: tail -n +11 %t | %normalize_plist | diff -ub %S/Inputs/expected-plists/lambda-notes.cpp.plist -
// Diagnostic inside a lambda
OpenPOWER on IntegriCloud