compilation-parse-errors-filename-function is a variable defined in `compile.el'.
Its value is
This variable may be risky if used as a file-local variable.
Function to call to post-process filenames while parsing error messages.
It takes one arg FILENAME which is the name of a file as found
in the compilation output, and should return a transformed file name.