forked from OSchip/llvm-project
![]() Summary: This patch applies a change similar to rC363069, but for SARIF files. The `%diff_sarif` lit substitution invokes `diff` with a non-portable `-I` option. The intended effect can be achieved by normalizing the inputs to `diff` beforehand. Such normalization can be done with `grep -Ev`, which is also used by other tests. Additionally, this patch updates the SARIF output to have a newline at the end of the file. This makes it so that the SARIF file qualifies as a POSIX text file, which increases the consumability of the generated file in relation to various tools. Reviewers: NoQ, sfertile, xingxue, jasonliu, daltenty, aaron.ballman Reviewed By: aaron.ballman Subscribers: xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, Charusso, jsji, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D62952 llvm-svn: 363822 |
||
---|---|---|
.. | ||
Inputs | ||
deref-track-symbolic-region.c | ||
deref-track-symbolic-region.cpp | ||
dtors.cpp | ||
explicit-suppression.cpp | ||
false-positive-suppression.c | ||
find_last_store.c | ||
implicit-cxx-std-suppression.cpp | ||
initializer.cpp | ||
invalid-srcloc-fix.cpp | ||
macro-null-return-suppression.cpp | ||
macros.cpp | ||
macros.m | ||
no-prune-paths.c | ||
no-store-func-path-notes.c | ||
no-store-func-path-notes.cpp | ||
no-store-func-path-notes.m | ||
plist-diagnostics-include-check.cpp | ||
plist-multi-file.c | ||
plist-multi-file.h | ||
report-issues-within-main-file.cpp | ||
sarif-diagnostics-taint-test.c | ||
sarif-multi-diagnostic-test.c | ||
shortest-path-suppression.c | ||
text-diagnostics.c | ||
track_subexpressions.cpp | ||
undef-value-callee.h | ||
undef-value-caller.c | ||
undef-value-param.c | ||
undef-value-param.m |