[PATCH] D70689: [analyzer] Fix SARIF column locations

Joe Ranieri via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 25 11:32:22 PST 2019


jranieri-grammatech created this revision.
jranieri-grammatech added a reviewer: aaron.ballman.
Herald added subscribers: cfe-commits, Charusso, dkrupp, donat.nagy, Szelethus, mikhail.ramalho, a.sidorin, szepet, baloghadamsoftware, xazax.hun.
Herald added a project: clang.

This fixes SARIF column locations to be end-exclusive and be counted in terms of Unicode characters.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70689

Files:
  clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
  clang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif
  clang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-multi-diagnostic-test.c.sarif
  clang/test/Analysis/diagnostics/sarif-multi-diagnostic-test.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70689.230950.patch
Type: text/x-patch
Size: 12850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191125/f0097caa/attachment.bin>


More information about the cfe-commits mailing list