When constructing an ObjCIvarDecl object in Sema, provide its visibility up front instead of setting it afterwards.
This change also fixes a subtle bug where the access control of an ivar would be initialized to garbage if we didn't have an explicit visibility specifier (e.g., @private).

llvm-svn: 53955
3 files changed
tree: 19073ddda9f303161b5240ed2b7a6d5cb1b93667
  1. clang/
  2. llvm/