|
|
|
|
|
by flukus
2894 days ago
|
|
Such as? White space changes can be ignored, comments can be stripped pre diff, both version can be run through the same formatter before hand. What you're then left with are the actual changes. Anything removed or modified is a breaking change. Anything added to a public struct is a breaking change, which can and arguably should be hidden behind an interface. Adding functions is about all I can think of that's left. Even if it's not perfect, it's a simple 90% solution with 40 year old tools. |
|
* Function order changes
* Prototype goes from int function(char * ); to int function(char * arg);
* Typedef is added so instead of int function(char* );, it's typedef char* str; int function(str);