This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Fix a subtle case for GetBeginningOfIdentifier.
ClosedPublic

Authored by sammccall on Oct 5 2018, 2:41 AM.

Details

Summary

The following case 1 was incorrectly regarded as case 2:

MACRO(foo->^function())

Also add few more tests for macro.

Event Timeline

hokein created this revision.Oct 5 2018, 2:41 AM
sammccall commandeered this revision.Oct 5 2018, 5:05 AM
sammccall edited reviewers, added: hokein; removed: sammccall.

(Stealing this to make some revisions after pair-programming)

This revision was not accepted when it landed; it landed in state Needs Review.Oct 5 2018, 5:09 AM
This revision was automatically updated to reflect the committed changes.