Change Preprocessor to keep a copy of LangOptions instead of reference, like ASTContext.

Now when creating a Preprocessor we can pass it a temporary LangOptions object instead of having to remember to keep it around.

llvm-svn: 76815
This commit is contained in:
Argyrios Kyrtzidis 2009-07-22 23:13:42 +00:00
parent 8dd1b6bd10
commit 3a24c4aa00
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class DirectoryLookup;
///
class Preprocessor {
Diagnostic *Diags;
const LangOptions &Features;
LangOptions Features;
TargetInfo &Target;
FileManager &FileMgr;
SourceManager &SourceMgr;