For some reason the initial implementation of the check had an explicit check
for the main file to avoid being applied in headers. This diff removes this
check and add a test for the check on a header.
Similar approach was proposed in D61989 but review there got stuck.
Test Plan: added new test case
This fix line isn't actually contributing to the test.
Perhaps a better case, assuming clang-format doesn't update the comment, would be: