summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-07-22 18:24:20 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-07-22 18:24:20 +0000
commit6e7e8cc19d05b361f53d44022fa9f696d672c7d9 (patch)
treec9ea616bfeee961181fa17e4f6a1db3196036167 /clang/lib/CodeGen
parenta11b4bfcbeaa9ccbd0a8c709f9b36c24a8734ef1 (diff)
downloadbcm5719-llvm-6e7e8cc19d05b361f53d44022fa9f696d672c7d9.tar.gz
bcm5719-llvm-6e7e8cc19d05b361f53d44022fa9f696d672c7d9.zip
atch for implementation of objective-c's -Wselector
warning flag in clang. Little more to do for a PCH issue. Radar 6507158. llvm-svn: 109129
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index f6788c6c309..057182d0392 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -1930,7 +1930,7 @@ void CodeGenModule::EmitObjCIvarInitializations(ObjCImplementationDecl *D) {
D->getLocation(),
D->getLocation(), cxxSelector,
getContext().VoidTy, 0,
- DC, true, false, true,
+ DC, true, false, true, false,
ObjCMethodDecl::Required);
D->addInstanceMethod(DTORMethod);
CodeGenFunction(*this).GenerateObjCCtorDtorMethod(D, DTORMethod, false);
@@ -1942,7 +1942,7 @@ void CodeGenModule::EmitObjCIvarInitializations(ObjCImplementationDecl *D) {
D->getLocation(),
D->getLocation(), cxxSelector,
getContext().getObjCIdType(), 0,
- DC, true, false, true,
+ DC, true, false, true, false,
ObjCMethodDecl::Required);
D->addInstanceMethod(CTORMethod);
CodeGenFunction(*this).GenerateObjCCtorDtorMethod(D, CTORMethod, true);
OpenPOWER on IntegriCloud