summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/method-call-path-notes.cpp
diff options
context:
space:
mode:
authorMikhail Maltsev <mikhail.maltsev@arm.com>2018-09-17 10:19:46 +0000
committerMikhail Maltsev <mikhail.maltsev@arm.com>2018-09-17 10:19:46 +0000
commitc704f4d5615ba512aafe85e7b2898d5335608d3e (patch)
tree35c8cf54e63ac5b85d71dd83784afffcb8a6c6de /clang/test/Analysis/method-call-path-notes.cpp
parent1de445c71c2f0e2061130f83f6a976de4d590ee7 (diff)
downloadbcm5719-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/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 2ad6b25823d..b99455dbf70 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 -u -w -I "<string>/" -I "<string>.:" -I "version" - %S/Inputs/expected-plists/method-call-path-notes.cpp.plist
+// RUN: cat %t.plist | %diff_plist %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