diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-07-23 18:12:25 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-07-23 18:12:25 +0000 |
commit | 8f50b9c02abe7cd4945a9b77a8550a5207ea21cf (patch) | |
tree | 4c768b543f124766ddf41c208f77c606d4a5ea0b | |
parent | b8db21d4df5fbb6ce1ace6411b82d3d623d789de (diff) |
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
-rw-r--r-- | include/clang/AST/DeclObjC.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, |