aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2008-12-09 22:43:22 +0000
committerFariborz Jahanian <fjahanian@apple.com>2008-12-09 22:43:22 +0000
commit91b51a92f2e9fc8025b6a9df88442840eb62823a (patch)
treea8af55f8dbacdd88d68e5ddc687eb3500185b44c /include
parent7d71b296c719cc055f9a599fbcb2bb5900e3f2b1 (diff)
Prevent bogus warning on unimplemented setter/getter when user
has added declaration of these methods in its @interface. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60803 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/AST/DeclObjC.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h
index ba415f90df..81f8f61120 100644
--- a/include/clang/AST/DeclObjC.h
+++ b/include/clang/AST/DeclObjC.h
@@ -225,6 +225,7 @@ public:
bool isVariadic() const { return IsVariadic; }
bool isSynthesized() const { return IsSynthesized; }
+ void setIsSynthesized() { IsSynthesized = true; }
// Related to protocols declared in @protocol
void setDeclImplementation(ImplementationControl ic) {