ZedThree / clang-tidy-review

Create a pull request review based on clang-tidy warnings
MIT License
88 stars 44 forks source link

Fixed handling of relative paths #43

Closed FlorianReimold closed 2 years ago

FlorianReimold commented 2 years ago

Fixed handling of relative paths. If clang-tidy returns a relative path, it means that it is relative to the build dir, but clang-tidy-review interpreted it as being relative to the current working directory, which is the git checkout dir.

This is fixed, now, by always interpreting relative paths as relative to the build directory and converting them to absolute paths.

Fixes #41