compositeprimes added a comment. Sorry about the lack of context on the last upload, this one should have it all
================ Comment at: include/clang/Tooling/Core/Diagnostic.h:62-70 +/// Represents extra source ranges to be associated with a diagnostic. +struct DiagnosticAssociatedRanges { + DiagnosticAssociatedRanges() = default; + + DiagnosticAssociatedRanges(const SourceManager &Sources, + ArrayRef<CharSourceRange> SourceRanges); + ---------------- alexfh wrote: > Why is this needed? Shouldn't `LLVM_YAML_IS_SEQUENCE_VECTOR` be enough to > allow for SmallVector<DiagnosticAssociatedRange, ...> to be yaml > serializable? Seems to work with `DiagnosticMessage` and `Diagnostic::Notes`. Yeah, you're right it's not really needed. I had been trying to make it easier to convert a vector<CharSourceRange> to vector<AssociatedRange>, but it's really not that hard as is. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D69782/new/ https://reviews.llvm.org/D69782 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits