[PATCH] D41280: [clangd] Don't use the optional "severity" when comparing Diagnostic.
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 15 04:32:24 PST 2017
ilya-biryukov added a comment.
Maybe we could use a struct containing only `range` and `message` (e.g. `pair<range, string>`) as a key to search for fixits instead of `Diagnostic`?
Having an `operator <` that does not take all fields into account seems shaky.
rCTE Clang Tools Extra
More information about the cfe-commits