From: Ted Kremenek Date: Wed, 23 Jul 2008 18:12:25 +0000 (+0000) Subject: Initialize instance variable DeclAccess in ctor for ObjCIvarDecl. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f50b9c02abe7cd4945a9b77a8550a5207ea21cf;p=clang Initialize instance variable DeclAccess in ctor for ObjCIvarDecl. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53956 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h index 9267bde14a..3128f5b16a 100644 --- a/include/clang/AST/DeclObjC.h +++ b/include/clang/AST/DeclObjC.h @@ -487,7 +487,7 @@ public: private: ObjCIvarDecl(SourceLocation L, IdentifierInfo *Id, QualType T, AccessControl ac, Expr *BW) - : FieldDecl(ObjCIvar, L, Id, T, BW) {} + : FieldDecl(ObjCIvar, L, Id, T, BW), DeclAccess(ac) {} public: static ObjCIvarDecl *Create(ASTContext &C, SourceLocation L,