This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Fix SelectionTree to allow selection range expression in foreach loops.
ClosedPublic

Authored by sammccall on Aug 28 2019, 3:38 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

sammccall created this revision.Aug 28 2019, 3:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 28 2019, 3:38 AM
hokein accepted this revision.Aug 28 2019, 4:51 AM
hokein added inline comments.
clang-tools-extra/clangd/unittests/SelectionTests.cpp
275 ↗(On Diff #217598)

nit: the ^ inside the string "foo" is a bit tricky, I didn't spot it at the first glance, I'd move it out of the string, e.g. mak^eStr("foo"^)

This revision is now accepted and ready to land.Aug 28 2019, 4:51 AM
This revision was automatically updated to reflect the committed changes.
sammccall marked an inline comment as done.
Herald added a project: Restricted Project. · View Herald TranscriptAug 28 2019, 5:04 AM