This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Link clangTidy into clangd tests
ClosedPublic

Authored by nridge on Jan 22 2019, 6:50 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

nridge created this revision.Jan 22 2019, 6:50 PM

After pulling the latest code, I found this change was necessary to get past the following linker error:

clang-tools-extra/unittests/clangd/TestTU.cpp:9443: error: undefined reference to 'clang::tidy::ClangTidyOptions::getDefaults()'

I assume this is a regression from https://reviews.llvm.org/D55256.

hokein accepted this revision.Jan 23 2019, 12:00 AM

LGtM, thanks!

This revision is now accepted and ready to land.Jan 23 2019, 12:00 AM
This revision was automatically updated to reflect the committed changes.