From 531cc8355608295caa01f31fa4e078d77a3d6470 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 10 Apr 2009 22:13:17 +0000 Subject: do a dance with predefines, and finally enable reading of macros from PCH. This works now, except for limitations not being able to do things with identifiers. The basic example in the testcase works though. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68832 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Lex/Preprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Lex/Preprocessor.cpp') diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp index be47fcc8fe..5735d01716 100644 --- a/lib/Lex/Preprocessor.cpp +++ b/lib/Lex/Preprocessor.cpp @@ -45,7 +45,7 @@ using namespace clang; PreprocessorFactory::~PreprocessorFactory() {} -bool PreprocessorFactory::FinishInitialization(Preprocessor *PP) { +bool PreprocessorFactory::FinishInitialization(Preprocessor *PP, bool UsesPCH) { return false; } -- cgit v1.2.3