matus-chochlik / ctcache

Cache for clang-tidy static analysis results
Boost Software License 1.0
83 stars 29 forks source link

feat: Add option to also strip paths from source files #59

Closed tony-p closed 6 months ago

tony-p commented 6 months ago

Add option CTCACHE_STRIP_SRC to also strip paths defined in CTCACHE_STRIP from source files.

Converts standard string replace to regex substitution as it is factors faster, especially on the large source inputs

matus-chochlik commented 6 months ago

Thanks for the PR.