diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-09-13 18:26:39 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-09-13 18:26:39 +0000 |
commit | 7d5e81bf24dbfd334a7c62a7ae51043c79a69aa9 (patch) | |
tree | 7fa299a801302ef70333df754223e2829d34af51 /include/clang/Basic/LangOptions.h | |
parent | e87158dfbca01577810f301543c3cdcfc955d8b0 (diff) |
Switch the serialization of LangOptions over to use the .def file. We
should no longer have the serialization of LangOptions out of sync
with the structure itself (yay).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139613 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/LangOptions.h')
-rw-r--r-- | include/clang/Basic/LangOptions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/LangOptions.h b/include/clang/Basic/LangOptions.h index 34d836a73e..e8e1afcaef 100644 --- a/include/clang/Basic/LangOptions.h +++ b/include/clang/Basic/LangOptions.h @@ -19,12 +19,12 @@ namespace clang { -class OptionSignature; - /// LangOptions - This class keeps track of the various options that can be /// enabled, which controls the dialect of C that is accepted. class LangOptions { public: + typedef clang::Visibility Visibility; + enum GCMode { NonGC, GCOnly, HybridGC }; enum StackProtectorMode { SSPOff, SSPOn, SSPReq }; |