diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-30 06:01:29 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-30 06:01:29 +0000 |
commit | 899292827456532bc66219f9d778595c57614f77 (patch) | |
tree | fa9971f4bad44e176c13d13bc80d68f4dce77e25 /clang/lib/Lex/Preprocessor.cpp | |
parent | 829400bb22fc72d291fd3e5057b0880d7b09aafa (diff) | |
download | llvm-899292827456532bc66219f9d778595c57614f77.zip llvm-899292827456532bc66219f9d778595c57614f77.tar.gz llvm-899292827456532bc66219f9d778595c57614f77.tar.bz2 |
Thread a TargetInfo through to the module map; we'll need it for
target-specific module requirements.
llvm-svn: 149224
Diffstat (limited to 'clang/lib/Lex/Preprocessor.cpp')
-rw-r--r-- | clang/lib/Lex/Preprocessor.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp index 05cbffd..fc6efb6 100644 --- a/clang/lib/Lex/Preprocessor.cpp +++ b/clang/lib/Lex/Preprocessor.cpp @@ -167,7 +167,9 @@ void Preprocessor::Initialize(const TargetInfo &Target) { Ident__exception_info = Ident__exception_code = Ident__abnormal_termination = 0; Ident___exception_info = Ident___exception_code = Ident___abnormal_termination = 0; Ident_GetExceptionInfo = Ident_GetExceptionCode = Ident_AbnormalTermination = 0; - } + } + + HeaderInfo.setTarget(Target); } void Preprocessor::setPTHManager(PTHManager* pm) { |