This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Fix a crash in Selection
ClosedPublic

Authored by ilya-biryukov on Feb 20 2019, 6:41 AM.

Details

Summary

The assertion checking that a range of a node is a token range does
not hold in case of "split" tokens, e.g. between two closing template
argument lists (vector<vector<int>>).

Diff Detail

Repository
rL LLVM

Event Timeline

ilya-biryukov created this revision.Feb 20 2019, 6:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 20 2019, 6:41 AM
  • Fix a syntax error in the test
ilya-biryukov edited the summary of this revision. (Show Details)Feb 20 2019, 6:44 AM
This revision is now accepted and ready to land.Feb 20 2019, 6:49 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 20 2019, 11:26 AM