diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2009-11-17 19:33:30 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2009-11-17 19:33:30 +0000 |
commit | 5e530af5d51572a0ed5dbe50da54bd333840c63d (patch) | |
tree | c92cec772032e2ddc3a9364c84c169a5f137d189 /include/clang/Basic/LangOptions.h | |
parent | aecbf24a6bad049437f8fec97e557d414003a3db (diff) |
Added block type introspection support.
As per Fariborz's suggestion, committed now but can be reverted later if the used flag is problematic for Apple.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89134 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/LangOptions.h')
-rw-r--r-- | include/clang/Basic/LangOptions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/LangOptions.h b/include/clang/Basic/LangOptions.h index 7fd57c0499..99c100d55e 100644 --- a/include/clang/Basic/LangOptions.h +++ b/include/clang/Basic/LangOptions.h @@ -55,6 +55,7 @@ public: unsigned POSIXThreads : 1; // Compiling with POSIX thread support // (-pthread) unsigned Blocks : 1; // block extension to C + unsigned BlockIntrospection: 1; // block have ObjC type encodings. unsigned EmitAllDecls : 1; // Emit all declarations, even if // they are unused. unsigned MathErrno : 1; // Math functions must respect errno @@ -139,6 +140,7 @@ public: ThreadsafeStatics = 0; POSIXThreads = 0; Blocks = 0; + BlockIntrospection = 0; EmitAllDecls = 0; MathErrno = 1; |