Clang has warnings about using local regular expression objects and
recommends creating them statically, but seemingly only when the pattern
isn't QStringLiteral. Is it an oversight in clang's detection system or
stringliteral'd regular expressions are so much cheaper that it doesn't
deserve a warning?

I've delved into qt sources for a bit, but it doesn't seem like string
literal dodges the necessity to compile a regex so I assume clang's
detection is incomplete, right?
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to