Initiallize property getters as being property accessors (NFC)

This is a no-op because it is set later on unconditionally again, but
it's far less confusing this way and consistent with how the setters
are initialized.
This commit is contained in:
Adrian Prantl 2020-04-14 15:55:00 -07:00
parent 467c2514eb
commit 81aba6cd72
1 changed files with 1 additions and 1 deletions

View File

@ -7622,7 +7622,7 @@ bool TypeSystemClang::AddObjCClassProperty(
: class_interface_decl->lookupClassMethod(getter_sel);
if (!getter_sel.isNull() && !getter) {
const bool isVariadic = false;
const bool isPropertyAccessor = false;
const bool isPropertyAccessor = true;
const bool isSynthesizedAccessorStub = false;
const bool isImplicitlyDeclared = true;
const bool isDefined = false;