diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-20 15:52:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-20 15:52:06 +0000 |
commit | 33328642a7a8a126918814ddcbcebf83c121ad54 (patch) | |
tree | df0b0879d4e734b92e6f3613bc77c35cddcbc729 /lib/Lex/Preprocessor.cpp | |
parent | 7e9c90b1a7402dfeca87980cb07e36bedc1a42b8 (diff) |
pass LangOptions into TargetInfo::getTargetDefines, so that targets
can have language-specific defines.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67375 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
-rw-r--r-- | lib/Lex/Preprocessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp index 3afa4ee6b2..b06050f984 100644 --- a/lib/Lex/Preprocessor.cpp +++ b/lib/Lex/Preprocessor.cpp @@ -641,7 +641,7 @@ static void InitializePredefinedMacros(Preprocessor &PP, DefineBuiltinMacro(Buf, MacroBuf); // Get other target #defines. - TI.getTargetDefines(Buf); + TI.getTargetDefines(PP.getLangOptions(), Buf); // FIXME: Should emit a #line directive here. } |