[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.

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 10 05:43:55 PST 2019


alexfh requested changes to this revision.
alexfh added inline comments.
This revision now requires changes to proceed.


================
Comment at: include/clang/Tooling/DiagnosticsYaml.h:75
     std::string BuildDirectory;
+    ArrayRef<CharSourceRange> Ranges;
   };
----------------
We should serialize the ranges too.


Repository:
  rC Clang

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

https://reviews.llvm.org/D69782





More information about the cfe-commits mailing list