Very little. The game uses the word "damn," and that is essentially it.
For a title with Shadow's dark, gun-toting reputation, the language is remarkably restrained. The M rating on Shadow the Hedgehog comes from the weapon use and the darker tone of the Black Arms storyline rather than from profanity.
If swearing is your specific concern, this is a mild case. If it is the firearms and imagery, those are the more relevant things to weigh.