[PATCH] D63316: [clangd] Include the diagnostics's code when comparing diagnostics

2019-06-19 Thread Nathan Ridge via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL363889: [clangd] Include the diagnosticss code when comparing diagnostics (authored by nridge, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits. Changed prior to

[PATCH] D63316: [clangd] Include the diagnostics's code when comparing diagnostics

2019-06-19 Thread Nathan Ridge via Phabricator via cfe-commits
nridge updated this revision to Diff 205694. nridge added a comment. Add requested test case Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63316/new/ https://reviews.llvm.org/D63316 Files: clang-tools-extra/clangd/Protocol.h

[PATCH] D63316: [clangd] Include the diagnostics's code when comparing diagnostics

2019-06-17 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet accepted this revision. kadircet added a comment. This revision is now accepted and ready to land. LGTM with one more test case request. Thanks! Comment at: clang-tools-extra/clangd/test/fixits-duplication.test:44 +---

[PATCH] D63316: [clangd] Include the diagnostics's code when comparing diagnostics

2019-06-15 Thread Nathan Ridge via Phabricator via cfe-commits
nridge updated this revision to Diff 204939. nridge added a comment. Revise fix and add test Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63316/new/ https://reviews.llvm.org/D63316 Files: clang-tools-extra/clangd/Protocol.h

[PATCH] D63316: [clangd] Include the diagnostics's code when comparing diagnostics

2019-06-15 Thread Nathan Ridge via Phabricator via cfe-commits
nridge marked an inline comment as done. nridge added a comment. The fix actually broke another lit test, because in that test the client was not sending the diagnostic's code back in the `codeAction` request, resulting in a mismatch with the new comparison function. I think a real client

[PATCH] D63316: [clangd] Include the diagnostics's code when comparing diagnostics

2019-06-14 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet added a comment. Could you also add a lit test for the case you mentioned in the github issue? You can find pointers in clang-tools-extra/clangd/test/diagnostics.test and clang-tools-extra/clangd/test/fixits-codeaction.test Comment at:

[PATCH] D63316: [clangd] Include the diagnostics's code when comparing diagnostics

2019-06-13 Thread Nathan Ridge via Phabricator via cfe-commits
nridge created this revision. nridge added a reviewer: kadircet. Herald added subscribers: cfe-commits, arphaman, jkorous, MaskRay, ilya-biryukov. Herald added a project: clang. This fixes https://github.com/clangd/clangd/issues/60 Repository: rG LLVM Github Monorepo