format-code.sh: Allow some flexibility when formatting

clang-format doesn't allow us to differentiate between C and C++ styles,
they are both lumped under the 'Language: Cpp' directive.

This doesn't work when you have different styles for each language, for
example in the phosphor-mboxd repository (C in kernel style, C++ in
OpenBMC style, due to history).

phosphor-mboxd ships its own format-code.sh script which deals with its
specific requirements, so lets execute that.

Change-Id: I2bb4a5ffd940dcaac95481c2baf23823dba005ee
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
1 file changed