File tree Expand file tree Collapse file tree 7 files changed +14
-21
lines changed Expand file tree Collapse file tree 7 files changed +14
-21
lines changed Original file line number Diff line number Diff line change 32
32
#include < utility>
33
33
#include < vector>
34
34
35
- namespace llvm {
36
-
37
- class Triple ;
38
-
39
- } // namespace llvm
40
-
41
35
namespace clang {
42
36
43
37
class ASTReader ;
@@ -46,20 +40,11 @@ class CompilerInvocation;
46
40
class DiagnosticsEngine ;
47
41
class ExternalSemaSource ;
48
42
class FrontendOptions ;
49
- class HeaderSearch ;
50
- class HeaderSearchOptions ;
51
- class LangOptions ;
52
43
class PCHContainerReader ;
53
44
class Preprocessor ;
54
45
class PreprocessorOptions ;
55
46
class PreprocessorOutputOptions ;
56
47
57
- // / Apply the header search options to get given HeaderSearch object.
58
- void ApplyHeaderSearchOptions (HeaderSearch &HS,
59
- const HeaderSearchOptions &HSOpts,
60
- const LangOptions &Lang,
61
- const llvm::Triple &triple);
62
-
63
48
// / InitializePreprocessor - Initialize the preprocessor getting it and the
64
49
// / environment ready to process a single file.
65
50
void InitializePreprocessor (Preprocessor &PP, const PreprocessorOptions &PPOpts,
Original file line number Diff line number Diff line change 34
34
#include < utility>
35
35
#include < vector>
36
36
37
+ namespace llvm {
38
+
39
+ class Triple ;
40
+
41
+ } // namespace llvm
42
+
37
43
namespace clang {
38
44
39
45
class DiagnosticsEngine ;
@@ -853,6 +859,12 @@ class HeaderSearch {
853
859
bool IsSystem, bool IsFramework);
854
860
};
855
861
862
+ // / Apply the header search options to get given HeaderSearch object.
863
+ void ApplyHeaderSearchOptions (HeaderSearch &HS,
864
+ const HeaderSearchOptions &HSOpts,
865
+ const LangOptions &Lang,
866
+ const llvm::Triple &triple);
867
+
856
868
} // namespace clang
857
869
858
870
#endif // LLVM_CLANG_LEX_HEADERSEARCH_H
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ add_clang_library(clangFrontend
24
24
FrontendActions.cpp
25
25
FrontendOptions.cpp
26
26
HeaderIncludeGen.cpp
27
- InitHeaderSearch.cpp
28
27
InitPreprocessor.cpp
29
28
LayoutOverrideSource.cpp
30
29
LogDiagnosticPrinter.cpp
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ add_clang_library(clangLex
6
6
DependencyDirectivesSourceMinimizer.cpp
7
7
HeaderMap.cpp
8
8
HeaderSearch.cpp
9
+ InitHeaderSearch.cpp
9
10
Lexer.cpp
10
11
LiteralSupport.cpp
11
12
MacroArgs.cpp
Original file line number Diff line number Diff line change 10
10
//
11
11
// ===----------------------------------------------------------------------===//
12
12
13
+ #include " clang/Basic/DiagnosticFrontend.h"
13
14
#include " clang/Basic/FileManager.h"
14
15
#include " clang/Basic/LangOptions.h"
15
16
#include " clang/Config/config.h" // C_INCLUDE_DIRS
16
- #include " clang/Frontend/FrontendDiagnostic.h"
17
- #include " clang/Frontend/Utils.h"
18
17
#include " clang/Lex/HeaderMap.h"
19
18
#include " clang/Lex/HeaderSearch.h"
20
19
#include " clang/Lex/HeaderSearchOptions.h"
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ clang_target_link_libraries(LexTests
15
15
PRIVATE
16
16
clangAST
17
17
clangBasic
18
- clangFrontend
19
18
clangLex
20
19
clangParse
21
20
clangSema
Original file line number Diff line number Diff line change 15
15
#include " clang/Basic/SourceManager.h"
16
16
#include " clang/Basic/TargetInfo.h"
17
17
#include " clang/Basic/TargetOptions.h"
18
- #include " clang/Frontend/Utils.h"
19
- #include " clang/Lex/HeaderSearch.h"
20
18
#include " clang/Lex/HeaderSearchOptions.h"
21
19
#include " clang/Serialization/InMemoryModuleCache.h"
22
20
#include " llvm/Support/MemoryBuffer.h"
You can’t perform that action at this time.
0 commit comments