summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/inlining/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/inlining/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/inlining/path-notes.cpp')
-rw-r--r--clang/test/Analysis/inlining/path-notes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/inlining/path-notes.cpp b/clang/test/Analysis/inlining/path-notes.cpp
index 1b9d332159d..26d779902cc 100644
--- a/clang/test/Analysis/inlining/path-notes.cpp
+++ b/clang/test/Analysis/inlining/path-notes.cpp
@@ -1,6 +1,6 @@
// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output=text -analyzer-config c++-inlining=destructors -std=c++11 -verify -Wno-tautological-undefined-compare %s
// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config c++-inlining=destructors -std=c++11 %s -o %t.plist -Wno-tautological-undefined-compare
-// RUN: cat %t.plist | diff -u -w -I "<string>/" -I "<string>.:" -I "version" - %S/Inputs/expected-plists/path-notes.cpp.plist
+// RUN: cat %t.plist | %diff_plist %S/Inputs/expected-plists/path-notes.cpp.plist
class Foo {
public:
OpenPOWER on IntegriCloud