Remove bogus "C" from preamble block decls.
llvm-svn: 92744
This commit is contained in:
parent
e389158dbf
commit
7bf01ea165
|
|
@ -592,8 +592,8 @@ void RewriteObjC::Initialize(ASTContext &context) {
|
|||
Preamble += "extern \"C\" __declspec(dllexport) void *_NSConcreteGlobalBlock[32];\n";
|
||||
Preamble += "extern \"C\" __declspec(dllexport) void *_NSConcreteStackBlock[32];\n";
|
||||
Preamble += "#else\n";
|
||||
Preamble += "__OBJC_RW_DLLIMPORT \"C\" void _Block_object_assign(void *, const void *, const int);\n";
|
||||
Preamble += "__OBJC_RW_DLLIMPORT \"C\" void _Block_object_dispose(const void *, const int);\n";
|
||||
Preamble += "__OBJC_RW_DLLIMPORT void _Block_object_assign(void *, const void *, const int);\n";
|
||||
Preamble += "__OBJC_RW_DLLIMPORT void _Block_object_dispose(const void *, const int);\n";
|
||||
Preamble += "__OBJC_RW_DLLIMPORT void *_NSConcreteGlobalBlock[32];\n";
|
||||
Preamble += "__OBJC_RW_DLLIMPORT void *_NSConcreteStackBlock[32];\n";
|
||||
Preamble += "#endif\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue