compositeprimes added inline comments.
================
Comment at: include/clang/Tooling/Core/Diagnostic.h:51
+/// Represents a single source ranges to be associated with a diagnostic.
+struct DiagnosticAssociatedRange {
+  DiagnosticAssociatedRange() = default;
----------------
alexfh wrote:
> This comment was lost by Phabricator (or I just wanted to leave it without 
> actually doing it?).
> 
> The name assumes a specific usage. I'd try to make it more generic in case 
> there's another use case for the struct, for example: `ByteRange` (as opposed 
> to `TextRange`, which would be {start line, start column, end line, end 
> column}) or `FileByteRange` (if we want to stress that it contains a file 
> name).
Ah good idea, I like that name, Done


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

Reply via email to