This is an archive of the discontinued LLVM Phabricator instance.

[clang] Move `ApplyHeaderSearchOptions` from Frontend to Lex
ClosedPublic

Authored by jansvoboda11 on Jan 11 2022, 7:29 AM.

Details

Summary

In D116750, the clangFrontend library was added as a dependency of LexTests in order to make clang::ApplyHeaderSearchOptions() available. This increased the number of TUs the test depends on.

This patch moves the function into clangLex and removes dependency of LexTests on clangFrontend.

Diff Detail

Event Timeline

jansvoboda11 created this revision.Jan 11 2022, 7:29 AM
jansvoboda11 requested review of this revision.Jan 11 2022, 7:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 11 2022, 7:29 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Re-run clang-format

thakis accepted this revision.Jan 11 2022, 8:15 AM

That was easy :) Thanks!

This revision is now accepted and ready to land.Jan 11 2022, 8:15 AM
This revision was landed with ongoing or failed builds.Jan 11 2022, 8:57 AM
This revision was automatically updated to reflect the committed changes.