The commit r322690 introduced support for ObjC detection in header files. Unfortunately some C headers that use designated initializers are now incorrectly detected as Objective-C.
This patch fixes it by ensuring [ ... ] is not annotated as an Objective-C message send when the expression is followed by = as it's not a commonly used Objective-C pattern.
rdar://45504376
I think you need to check if CurrentToken->Previous is null before dereferencing it.