| commit | 034e11aca51b64c29cd2e47703e478df895cff9e | [log] [tgz] |
|---|---|---|
| author | Sam McCall <sam.mccall@gmail.com> | Thu Jan 25 17:29:17 2018 +0000 |
| committer | Sam McCall <sam.mccall@gmail.com> | Thu Jan 25 17:29:17 2018 +0000 |
| tree | a57574e3e659426df19a75c9e21e6b3f24d700a7 | |
| parent | 102d4b59f999ac6f52888a20089882f3feffee76 [diff] |
[clangd] Add ClangdUnit diagnostics tests using annotated code. Summary: This adds checks that our diagnostics emit correct ranges in a bunch of cases, as promised in D41118. The diagnostics-preamble test is also converted and extended to be a little more precise. diagnostics.test stays around as the smoke test for this feature. Reviewers: ilya-biryukov Subscribers: klimek, mgorny, cfe-commits Differential Revision: https://reviews.llvm.org/D41454 llvm-svn: 323448