Searched refs:HasFinal (Results 1 – 1 of 1) sorted by relevance
99 bool HasFinal = Method->getAttr<FinalAttr>(); in check() local101 bool OnlyVirtualSpecified = HasVirtual && !HasOverride && !HasFinal; in check()102 unsigned KeywordCount = HasVirtual + HasOverride + HasFinal; in check()105 (!HasVirtual && HasOverride && HasFinal && AllowOverrideAndFinal)) in check()115 HasVirtual ? (HasOverride && HasFinal && !AllowOverrideAndFinal in check()119 StringRef Correct = HasFinal ? "'%1'" : "'%0'"; in check()142 if (!HasFinal && !HasOverride) { in check()214 if (HasFinal && HasOverride && !AllowOverrideAndFinal) { in check()