[PATCH] D47847: [clangd] Simplify matches in FindSymbols tests

Marc-Andre Laperle via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 6 14:36:10 PDT 2018


malaperle created this revision.
Herald added subscribers: cfe-commits, jkorous, MaskRay, ioeric, ilya-biryukov.

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 at ericsson.com>


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D47847

Files:
  unittests/clangd/FindSymbolsTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47847.150201.patch
Type: text/x-patch
Size: 7813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180606/fcad8eba/attachment-0001.bin>


More information about the cfe-commits mailing list