summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclObjC.cpp
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/AST/DeclObjC.cpp
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/AST/DeclObjC.cpp')
-rw-r--r--clang/lib/AST/DeclObjC.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp
index fce24dcf384..c682cf18bfa 100644
--- a/clang/lib/AST/DeclObjC.cpp
+++ b/clang/lib/AST/DeclObjC.cpp
@@ -339,12 +339,14 @@ ObjCMethodDecl *ObjCMethodDecl::Create(ASTContext &C,
bool isInstance,
bool isVariadic,
bool isSynthesized,
+ bool isDefined,
ImplementationControl impControl,
unsigned numSelectorArgs) {
return new (C) ObjCMethodDecl(beginLoc, endLoc,
SelInfo, T, ResultTInfo, contextDecl,
isInstance,
- isVariadic, isSynthesized, impControl,
+ isVariadic, isSynthesized, isDefined,
+ impControl,
numSelectorArgs);
}
OpenPOWER on IntegriCloud