Closed rhaschke closed 2 years ago
Hi all,
The problem here is that the container.cpp
contains multibyte symbols (for example, at lines 76, 78 and 82). While this Action reads this file in UTF-8
mode, clang-tidy
apparently reads it in the latin-1
mode, hence this problem.
@rhaschke Try to use Action URL from #35, namely this URL:
uses: oleg-derevenetz/clang-tidy-pr-comments@multibyte-fix
This version should work. If it works, then this PR may be merged by @platisd.
Nicely done as always @oleg-derevenetz 👌
@rhaschke could you please confirm if oleg-derevenetz/clang-tidy-pr-comments@multibyte-fix
fixes your issue?
Thanks to both of you for this super-fast fix!
Sometimes I get incorrect suggestions. For example, for this PR the suggestion is:
instead of the following one, which is correctly produced by
clang-apply-replacements
from the provided fixes file:Looks like the replacement is shifted by 6 characters in the suggestion.