[cfe-commits] r53956 - /cfe/trunk/include/clang/AST/DeclObjC.h
Ted Kremenek
kremenek at apple.com
Wed Jul 23 11:12:25 PDT 2008
Author: kremenek
Date: Wed Jul 23 13:12:25 2008
New Revision: 53956
URL: http://llvm.org/viewvc/llvm-project?rev=53956&view=rev
Log:
Initialize instance variable DeclAccess in ctor for ObjCIvarDecl.
Modified:
cfe/trunk/include/clang/AST/DeclObjC.h
Modified: cfe/trunk/include/clang/AST/DeclObjC.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclObjC.h?rev=53956&r1=53955&r2=53956&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclObjC.h (original)
+++ cfe/trunk/include/clang/AST/DeclObjC.h Wed Jul 23 13:12:25 2008
@@ -487,7 +487,7 @@
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,
More information about the cfe-commits
mailing list