llvm-svn: 65950
Respect isReadOnly when generating synthesized method decls. llvm-svn: 55364
llvm-svn: 54085