[PATCH] D60848: [Parser] Avoid correcting delayed typos in array subscript multiple times.
Erik Pilkington via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 19 11:02:17 PDT 2019
erik.pilkington added a comment.
Wait, why is NumTypos incorrect here? I think its because we don't handle the typo on the line: `[self undeclaredMethod:undeclaredArg];`, even the following asserts now. Seems like the right fix would be to track down why we aren't handling the typo in the message expr.
// RUN: clang -cc1 %s -fobjc-arc
@implementation X
-x { [self undeclaredMethod:undeclaredArg]; }
@end
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60848/new/
https://reviews.llvm.org/D60848
More information about the cfe-commits
mailing list