[all-commits] [llvm/llvm-project] f77d11: [clang] Move `ApplyHeaderSearchOptions` from Front...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Tue Jan 11 08:57:53 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f77d115cc136585f39d30a78c741eb296f9e804d
https://github.com/llvm/llvm-project/commit/f77d115cc136585f39d30a78c741eb296f9e804d
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2022-01-11 (Tue, 11 Jan 2022)
Changed paths:
M clang/include/clang/Frontend/Utils.h
M clang/include/clang/Lex/HeaderSearch.h
M clang/lib/Frontend/CMakeLists.txt
R clang/lib/Frontend/InitHeaderSearch.cpp
M clang/lib/Lex/CMakeLists.txt
A clang/lib/Lex/InitHeaderSearch.cpp
M clang/unittests/Lex/CMakeLists.txt
M clang/unittests/Lex/HeaderSearchTest.cpp
Log Message:
-----------
[clang] Move `ApplyHeaderSearchOptions` from Frontend to Lex
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`.
Reviewed By: thakis
Differential Revision: https://reviews.llvm.org/D117024
More information about the All-commits
mailing list