Preheat the oven to 350°F (175°C). Grease and flour two 8-inch round cake pans.
In a medium bowl, whisk together the flour, cocoa powder, baking powder, baking soda, and salt.
In a large bowl, beat together the sugar and butter until light and fluffy. Add the eggs one at a time, beating well after each addition. Stir in the vanilla extract.
Gradually add the dry ingredients to the wet ingredients, alternating with the milk, beginning and ending with the dry ingredients. Mix until just combined.
Divide the batter evenly between the prepared cake pans and bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean. Let the cakes cool in the pans for 10 minutes, then remove to a wire rack to cool completely.
Whip the heavy cream until soft peaks form. Set aside.
Place one cake layer on a serving plate. Spread half of the cherry pie filling over the cake layer.
Top with the second cake layer and spread the whipped cream over the top and sides of the cake.
Garnish with the remaining cherry pie filling and chocolate shavings. Refrigerate until ready to serve.