This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Simplify matches in FindSymbols tests
ClosedPublic

Authored by malaperle on Jun 6 2018, 2:36 PM.

Details

Summary

Instead of checking symbol name and container (scope) separately, check the
qualified name instead. This is much shorter and similar to how it is done
in the SymbolCollector tests.

Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>

Diff Detail

Repository
rL LLVM

Event Timeline

malaperle created this revision.Jun 6 2018, 2:36 PM
malaperle accepted this revision.Jun 26 2018, 9:58 AM

Self-approving because this is pretty inconsequential.

This revision is now accepted and ready to land.Jun 26 2018, 9:58 AM
This revision was automatically updated to reflect the committed changes.