On 2025-09-26 17:58, Chris Sherlock wrote:
What is really frustrating here is: how come this error suddenly occurs on a file move? Where is the plugin documented? I’ve been struggling to understand how this works. Clearly there must be an exception but how that exception works, I have no idea.
Looks like the original file name is explicitly excluded from being checked by the plugin. From compilerplugins/clang/stringadd.cxx :
// TODO this file has a boatload of buffer appends' and I don't feel like fixing them all now
if (fn == SRCDIR "/vcl/source/gdi/pdfwriter_impl.cxx")
return false;
That would explain why the exception no longer works when the file gets
renamed, unless the file path in the clang plugin also gets adjusted.
OpenPGP_signature.asc
Description: OpenPGP digital signature
