[clang] [ssaf][UnsafeBufferUsage] Add JSON serialization for UnsafeBufferUsage (PR #187156)
Balázs Benics via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 27 07:37:21 PDT 2026
================
@@ -0,0 +1,18 @@
+// RUN: rm -f %t.json
+// RUN: clang-ssaf-format -type=tu %S/tu-summary.json -o %t.json
+// RUN: diff %S/tu-summary.json %t.json
----------------
steakhal wrote:
I see. So you basically round-trip these?
BTW, you must use `rm -rf` because `rm` fails otherwise if the file didn't exist yet.
https://github.com/llvm/llvm-project/pull/187156
More information about the cfe-commits
mailing list