HomePhabricator

[clangd] Add a TestWorkspace utility

Authored by nridge on Oct 12 2020, 11:09 PM.

Description

[clangd] Add a TestWorkspace utility

TestWorkspace allows easily writing tests involving multiple
files that can have inclusion relationships between them.

BackgroundIndexTest.RelationsMultiFile is refactored to use
TestWorkspace, and moved to FileIndexTest as it no longer
depends on BackgroundIndex.

Differential Revision: https://reviews.llvm.org/D89297

Details

Committed
nridgeOct 24 2020, 5:15 PM
Differential Revision
D89297: [clangd] Add a TestWorkspace utility
Parents
rGc039e83a2cee: Fix typo SSC -> SCC
Branches
Unknown
Tags
Unknown