HomePhabricator

[analyzer] LocalizationChecker: Fix a crash on synthesized accessor stubs.

Authored by dergachev.a on Dec 11 2019, 11:03 AM.

Description

[analyzer] LocalizationChecker: Fix a crash on synthesized accessor stubs.

The checker was trying to analyze the body of every method in Objective-C
@implementation clause but the sythesized accessor stubs that were introduced
into it by 2073dd2d have no bodies.

Details