[PATCH] D69782: Summary: Instead of dropping all the ranges associated with a Diagnostic when converting them to a ClangTidy error, instead attach them to the ClangTidyError, so they can be consumed by other APIs.

Joe Turner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 14 12:30:57 PST 2020


compositeprimes updated this revision to Diff 244737.
compositeprimes added a comment.

Updated to serialize the ranges in yaml. This required making a few abstractions around the representation of CharSourceRange.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69782/new/

https://reviews.llvm.org/D69782

Files:
  include/clang/Tooling/Core/Diagnostic.h
  include/clang/Tooling/DiagnosticsYaml.h
  lib/Tooling/Core/Diagnostic.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69782.244737.patch
Type: text/x-patch
Size: 6411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200214/4292960f/attachment-0001.bin>


More information about the cfe-commits mailing list