diff options
author | Mikhail Maltsev <mikhail.maltsev@arm.com> | 2018-09-17 10:19:46 +0000 |
---|---|---|
committer | Mikhail Maltsev <mikhail.maltsev@arm.com> | 2018-09-17 10:19:46 +0000 |
commit | c704f4d5615ba512aafe85e7b2898d5335608d3e (patch) | |
tree | 35c8cf54e63ac5b85d71dd83784afffcb8a6c6de /clang/test/Analysis/inlining/path-notes.c | |
parent | 1de445c71c2f0e2061130f83f6a976de4d590ee7 (diff) | |
download | bcm5719-llvm-c704f4d5615ba512aafe85e7b2898d5335608d3e.tar.gz bcm5719-llvm-c704f4d5615ba512aafe85e7b2898d5335608d3e.zip |
[Analyzer] Define and use diff_plist in tests, NFC
This patch defines a new substitution and uses it to reduce
duplication in the Clang Analyzer test cases.
Differential Revision: https://reviews.llvm.org/D52036
llvm-svn: 342365
Diffstat (limited to 'clang/test/Analysis/inlining/path-notes.c')
-rw-r--r-- | clang/test/Analysis/inlining/path-notes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/inlining/path-notes.c b/clang/test/Analysis/inlining/path-notes.c index 764c4124217..eeeebdb98c7 100644 --- a/clang/test/Analysis/inlining/path-notes.c +++ b/clang/test/Analysis/inlining/path-notes.c @@ -1,6 +1,6 @@ // RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify %s // RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config suppress-null-return-paths=false %s -o %t.plist -// RUN: cat %t.plist | diff -u -w -I "<string>/" -I "<string>.:" -I "version" - %S/Inputs/expected-plists/path-notes.c.plist +// RUN: cat %t.plist | %diff_plist %S/Inputs/expected-plists/path-notes.c.plist void zero(int **p) { *p = 0; |