Change Preprocessor to keep a copy of LangOptions instead of reference, like ASTContext.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 22 Jul 2009 23:13:42 +0000 (23:13 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 22 Jul 2009 23:13:42 +0000 (23:13 +0000)
commit3a24c4aa007b298cab97f0c9a07c47b071c83576
tree35113accc708c5441376ff3fe5d064669188e8b7
parent8dd1b6bd1067449e01d25d1ae909119e514941f5
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
clang/include/clang/Lex/Preprocessor.h