commit | 3e3cd93b2fd9644e970c389e715c13883faf68b6 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Sep 01 20:23:19 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Sep 01 20:23:19 2011 +0000 |
tree | 1735be93ebc02ded757b6205b30c54b10d5282db | |
parent | e3685fd4c2546cfd450de6484ed4125adc1476c0 [diff] |
Teach ASTContext and Preprocessor to hold on to references to the same LangOptions, rather than making distinct copies of LangOptions. Granted, LangOptions doesn't actually get modified, but this will eventually make it easier to construct ASTContext and Preprocessor before we know all of the LangOptions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138959 91177308-0d34-0410-b5e6-96231b3b80d8