aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/LangOptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Basic/LangOptions.h')
-rw-r--r--include/clang/Basic/LangOptions.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/clang/Basic/LangOptions.h b/include/clang/Basic/LangOptions.h
index b615412f20..b85a74bc4a 100644
--- a/include/clang/Basic/LangOptions.h
+++ b/include/clang/Basic/LangOptions.h
@@ -51,6 +51,8 @@ struct LangOptions {
unsigned ThreadsafeStatics : 1; // Whether static initializers are protected
// by locks.
unsigned Blocks : 1; // block extension to C
+ unsigned EmitAllDecls : 1; // Emit all declarations, even if
+ // they are unused.
private:
unsigned GC : 2; // Objective-C Garbage Collection modes. We declare
// this enum as unsigned because MSVC insists on making enums
@@ -72,6 +74,7 @@ public:
// FIXME: The default should be 1.
ThreadsafeStatics = 0;
Blocks = 0;
+ EmitAllDecls = 0;
}
GCMode getGCMode() const { return (GCMode) GC; }