HomePhabricator

[clangd] Move buildStaticIndex() to SymbolYAML

Description

[clangd] Move buildStaticIndex() to SymbolYAML

buildStaticIndex() is used by two other tools that I'm building, now
it's useful outside of tool/ClangdMain.cpp.

Also, slightly refactor the code while moving it to the different source
file.

Reviewed By: sammccall

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

Details

Committed
omtcyfzSep 4 2018, 8:10 AM
Reviewer
sammccall
Differential Revision
D51626: [clangd] Move buildStaticIndex() to SymbolYAML
Parents
rL341368: [clangd] SymbolOccurrences -> Refs and cleanup
Branches
Unknown
Tags
Unknown