diff options
author | Mike Stump <mrs@apple.com> | 2009-10-20 02:12:22 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-10-20 02:12:22 +0000 |
commit | d015328f1503d47bf7ff6021135c78f5d78e5407 (patch) | |
tree | e800d86a96f31e482959e314abe5a5a7f245e6fd /clang/lib/Frontend/PCHReader.cpp | |
parent | b9e71d9fd1951e097f208b534ea716ba0b6c715d (diff) | |
download | bcm5719-llvm-d015328f1503d47bf7ff6021135c78f5d78e5407.tar.gz bcm5719-llvm-d015328f1503d47bf7ff6021135c78f5d78e5407.zip |
Refine the type of the first parameter to block invoke functions.
WIP. I have yet to find the magic incantation to get the structure
type to be defined. If someone has a pointer, love to hear it.
llvm-svn: 84590
Diffstat (limited to 'clang/lib/Frontend/PCHReader.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHReader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Frontend/PCHReader.cpp b/clang/lib/Frontend/PCHReader.cpp index ef73da7c344..82e5033dd8b 100644 --- a/clang/lib/Frontend/PCHReader.cpp +++ b/clang/lib/Frontend/PCHReader.cpp @@ -1589,6 +1589,8 @@ void PCHReader::InitializeContext(ASTContext &Ctx) { if (unsigned ObjCClassRedef = SpecialTypes[pch::SPECIAL_TYPE_OBJC_CLASS_REDEFINITION]) Context->ObjCClassRedefinitionType = GetType(ObjCClassRedef); + if (unsigned String = SpecialTypes[pch::SPECIAL_TYPE_BLOCK_DESCRIPTOR]) + Context->setBlockDescriptorType(GetType(String)); } /// \brief Retrieve the name of the original source file name |