summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHWriter.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-05-13 19:49:53 +0000
committerAnders Carlsson <andersca@mac.com>2009-05-13 19:49:53 +0000
commit5879fbd933483650c4bb96b9ea7e5c4646b55b98 (patch)
tree69452078148af3157c80d0a119902cfb39980871 /clang/lib/Frontend/PCHWriter.cpp
parent4060be74d9dcb864adc55f00e7c6d6145be6d759 (diff)
downloadbcm5719-llvm-5879fbd933483650c4bb96b9ea7e5c4646b55b98.tar.gz
bcm5719-llvm-5879fbd933483650c4bb96b9ea7e5c4646b55b98.zip
Disable access control by default. It can be enabled with the -faccess-control option. When we have better support for it, we can enable it by default again.
llvm-svn: 71706
Diffstat (limited to 'clang/lib/Frontend/PCHWriter.cpp')
-rw-r--r--clang/lib/Frontend/PCHWriter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHWriter.cpp b/clang/lib/Frontend/PCHWriter.cpp
index e05a73568f4..883825418e7 100644
--- a/clang/lib/Frontend/PCHWriter.cpp
+++ b/clang/lib/Frontend/PCHWriter.cpp
@@ -546,6 +546,8 @@ void PCHWriter::WriteLanguageOptions(const LangOptions &LangOpts) {
Record.push_back(LangOpts.GNUInline); // Should GNU inline semantics be
// used (instead of C99 semantics).
Record.push_back(LangOpts.NoInline); // Should __NO_INLINE__ be defined.
+ Record.push_back(LangOpts.AccessControl); // Whether C++ access control should
+ // be enabled.
Record.push_back(LangOpts.getGCMode());
Record.push_back(LangOpts.getVisibilityMode());
Record.push_back(LangOpts.InstantiationDepth);
OpenPOWER on IntegriCloud