If we have some range information coming from clang diagnostic, promote
that one even if it doesn't contain diagnostic location inside.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
- Build Status
Buildable 23182 Build 23181: arc lint + arc unit
Event Timeline
Comment Actions
- Address comments.
unittests/clangd/ClangdUnitTests.cpp | ||
---|---|---|
82 | In the previous implementation we were highlighting the "//with comments" as it was the token at that location. But since this is an insertion and we are not going to replace that token it seemed confusing to highlight all the comment. |
nit: Maybe FallbackRange?