forked from OSchip/llvm-project
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:
parent
8dd1b6bd10
commit
3a24c4aa00
|
@ -49,7 +49,7 @@ class DirectoryLookup;
|
|||
///
|
||||
class Preprocessor {
|
||||
Diagnostic *Diags;
|
||||
const LangOptions &Features;
|
||||
LangOptions Features;
|
||||
TargetInfo &Target;
|
||||
FileManager &FileMgr;
|
||||
SourceManager &SourceMgr;
|
||||
|
|
Loading…
Reference in New Issue