This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Fix check-clangd with no clang built
ClosedPublic

Authored by sammccall on Oct 31 2020, 4:38 AM.

Details

Summary
  • pass required=False to use_clang(), as we don't need it
  • fix required=False (which was unused and rotted):
    • make derived substitutions conditional on it
    • add a feature so we can disable tests that need it
  • conditionally disable our one test that depends on %resource_dir. This doesn't seem right from first principles, but isn't a big deal.

Diff Detail

Event Timeline

sammccall created this revision.Oct 31 2020, 4:38 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 31 2020, 4:38 AM
sammccall requested review of this revision.Oct 31 2020, 4:38 AM
kbobyrev accepted this revision.Nov 2 2020, 1:35 AM
kbobyrev added a subscriber: kbobyrev.

LGTM

This revision is now accepted and ready to land.Nov 2 2020, 1:35 AM
This revision was landed with ongoing or failed builds.Nov 2 2020, 12:10 PM
This revision was automatically updated to reflect the committed changes.