diff options
author | George Karpenkov <ekarpenkov@apple.com> | 2018-09-11 18:45:15 +0000 |
---|---|---|
committer | George Karpenkov <ekarpenkov@apple.com> | 2018-09-11 18:45:15 +0000 |
commit | 5594866a64587e716922f894c7a0dac0ef857c10 (patch) | |
tree | 6b416472ef3812bfbc255ca7a4462434ae0667de /clang/test/Analysis/inline-unique-reports.c | |
parent | 727d89526efba8fea09ef2ffcb83f4952e852894 (diff) | |
download | bcm5719-llvm-5594866a64587e716922f894c7a0dac0ef857c10.tar.gz bcm5719-llvm-5594866a64587e716922f894c7a0dac0ef857c10.zip |
[analyzer] [NFC] Change the tests by making the version check more resilient
llvm-svn: 341978
Diffstat (limited to 'clang/test/Analysis/inline-unique-reports.c')
-rw-r--r-- | clang/test/Analysis/inline-unique-reports.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/inline-unique-reports.c b/clang/test/Analysis/inline-unique-reports.c index 9b8538d1703..0ebf4f8fc04 100644 --- a/clang/test/Analysis/inline-unique-reports.c +++ b/clang/test/Analysis/inline-unique-reports.c @@ -1,5 +1,5 @@ // RUN: %clang_analyze_cc1 %s -analyzer-checker=core.NullDereference -analyzer-output=plist -o %t > /dev/null 2>&1 -// RUN: cat %t | diff -u -w -I "<string>/" -I "<string>.:" -I "clang version" - %S/Inputs/expected-plists/inline-unique-reports.c.plist +// RUN: cat %t | diff -u -w -I "<string>/" -I "<string>.:" -I "version" - %S/Inputs/expected-plists/inline-unique-reports.c.plist static inline bug(int *p) { *p = 0xDEADBEEF; |