google-objc-global-variable-declaration currently triggers on
valid code like:
- (void)foo { static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ /* ... */ }); }
The Google Objective-C style guide says:
http://google.github.io/styleguide/objcguide.html#common-variable-names
File scope or global variables (as opposed to constants) declared
outside the scope of a method or function should be rare, and should
have the prefix g.
which is meant to insinuate that static variables inside a method or
function don't need a special name.
Test Plan: make -j12 check-clang-tools