diff options
author | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2019-06-11 14:21:32 +0000 |
---|---|---|
committer | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2019-06-11 14:21:32 +0000 |
commit | 61c848d2549b5fa4e09776bb0a2d5306e001cb66 (patch) | |
tree | 62181b47e97da30ad26b1d00e4a3d5364b003a1d /clang/test/Analysis/MismatchedDeallocator-path-notes.cpp | |
parent | be8d03a512a013f9b6aaec4074caa6e45e844dad (diff) | |
download | bcm5719-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/MismatchedDeallocator-path-notes.cpp')
-rw-r--r-- | clang/test/Analysis/MismatchedDeallocator-path-notes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/MismatchedDeallocator-path-notes.cpp b/clang/test/Analysis/MismatchedDeallocator-path-notes.cpp index 5529d495be8..814ad3a21b0 100644 --- a/clang/test/Analysis/MismatchedDeallocator-path-notes.cpp +++ b/clang/test/Analysis/MismatchedDeallocator-path-notes.cpp @@ -1,6 +1,6 @@ // RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=text -verify %s // RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=plist %s -o %t.plist -// RUN: tail -n +11 %t.plist | %diff_plist %S/copypaste/Inputs/expected-plists/MismatchedDeallocator-path-notes.cpp.plist - +// RUN: tail -n +11 %t.plist | %normalize_plist | diff -ub %S/copypaste/Inputs/expected-plists/MismatchedDeallocator-path-notes.cpp.plist - void changePointee(int *p); int *allocIntArray(unsigned c) { |