llvm-project
llvm-project copied to clipboard
Make google-objc-function-naming recommend converting from global to static when appropriate
| Bugzilla Link | 39945 |
| Version | unspecified |
| OS | All |
Extended Description
If a global function's definition, declaration, or both are in the same implementation file and the global function is missing an appropriate prefix, it is probably reasonable to convert the function to a static function rather than require prefixing appropriate for a global function.
To correct my previous description: The function definition and declaration (if it exists) need to be in the same implementation file in order for conversion to static to be appropriate.
assigned to @stephanemoore