summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/diagnostics
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2018-10-30 19:49:17 +0000
committerAaron Ballman <aaron@aaronballman.com>2018-10-30 19:49:17 +0000
commitfa03c690bd55e58fe8c8b13a9b4525e8b8cb2c9f (patch)
tree2fae02145d478240eea34f8600e9c903ffc7d480 /clang/test/Analysis/diagnostics
parent93d0129b78ca6b9b84ad0af1e2e42b9d3d92754c (diff)
downloadbcm5719-llvm-fa03c690bd55e58fe8c8b13a9b4525e8b8cb2c9f.tar.gz
bcm5719-llvm-fa03c690bd55e58fe8c8b13a9b4525e8b8cb2c9f.zip
Speculatively attempt to fix a failing testbot.
A testbot ( http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental/54690/) was failing with a complaint about an obsolete option that wasn't present in the command line in the first place. This replaces my guess at the "obsolete option" with a different spelling that will hopefully be more acceptable to this bot without breaking other bots. llvm-svn: 345635
Diffstat (limited to 'clang/test/Analysis/diagnostics')
-rw-r--r--clang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif2
-rw-r--r--clang/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif b/clang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif
index 965bcb9a382..015be055176 100644
--- a/clang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif
+++ b/clang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif
@@ -7,7 +7,7 @@
"fileLocation": {
"uri": "file:sarif-diagnostics-taint-test.c"
},
- "length": 500,
+ "length": 501,
"mimeType": "text/plain",
"roles": [
"resultFile"
diff --git a/clang/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c b/clang/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c
index 63b6c12ac45..2b9775b665b 100644
--- a/clang/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c
+++ b/clang/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c
@@ -1,4 +1,4 @@
-// RUN: %clang_analyze_cc1 -analyzer-checker=alpha.security.taint,debug.TaintTest %s -verify -analyzer-output=sarif -o - | diff -u1 -w -I ".*file:.*sarif-diagnostics-taint-test.c" -I "clang version" -I "2\.0\.0\-beta\." - %S/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif
+// RUN: %clang_analyze_cc1 -analyzer-checker=alpha.security.taint,debug.TaintTest %s -verify -analyzer-output=sarif -o - | diff -U 1 -w -I ".*file:.*sarif-diagnostics-taint-test.c" -I "clang version" -I "2\.0\.0\-beta\." - %S/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif
#include "../Inputs/system-header-simulator.h"
int atoi(const char *nptr);
OpenPOWER on IntegriCloud