From 91b51a92f2e9fc8025b6a9df88442840eb62823a Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Tue, 9 Dec 2008 22:43:22 +0000 Subject: 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 --- include/clang/AST/DeclObjC.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/clang') 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) { -- cgit v1.2.3-18-g5258