projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd1b6b
)
Change Preprocessor to keep a copy of LangOptions instead of reference, like ASTContext.
author
Argyrios Kyrtzidis
<akyrtzi@gmail.com>
Wed, 22 Jul 2009 23:13:42 +0000
(23:13 +0000)
committer
Argyrios Kyrtzidis
<akyrtzi@gmail.com>
Wed, 22 Jul 2009 23:13:42 +0000
(23:13 +0000)
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
clang/include/clang/Lex/Preprocessor.h
patch
|
blob
|
history
diff --git
a/clang/include/clang/Lex/Preprocessor.h
b/clang/include/clang/Lex/Preprocessor.h
index
6d5ed72
..
f1647af
100644
(file)
--- a/
clang/include/clang/Lex/Preprocessor.h
+++ b/
clang/include/clang/Lex/Preprocessor.h
@@
-49,7
+49,7
@@
class DirectoryLookup;
///
class Preprocessor {
Diagnostic *Diags;
-
const LangOptions &
Features;
+
LangOptions
Features;
TargetInfo &Target;
FileManager &FileMgr;
SourceManager &SourceMgr;