[clang] [clang][ssaf] Add JSONFormat support for WPASuite (PR #187403)
Balázs Benics via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 31 09:55:52 PDT 2026
================
@@ -0,0 +1,178 @@
+// Tests for clang-ssaf-format --type wpa that require the example plugin.
+
+// REQUIRES: plugins
+
+// RUN: rm -rf %t
+// RUN: mkdir -p %t
+
+// ============================================================================
+// Read errors
+// ============================================================================
+
+// 'results' field is absent.
+// RUN: not clang-ssaf-format --type wpa %S/Inputs/missing-results.json 2>&1 \
+// RUN: | FileCheck %s --check-prefix=NO-RESULTS
----------------
steakhal wrote:
I guess in these FileCheck invocations we could set the `--match-full-lines` flag.
https://github.com/llvm/llvm-project/pull/187403
More information about the cfe-commits
mailing list