Shaved chocolate in cake batter?
From my experience it's likely that chocolate shavings are too small to keep any integrity during baking. They will likely melt into the batter as it bakes. If the batter is warm it may already melt then. 

Larger pieces like chocolate chips are more likely to stay together enough to re-solidify into noticeable pieces when eaten.