[llvm-bugs] [Bug 26643] False positive "format string is not a string literal", SARD #149064
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Feb 16 17:22:27 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=26643
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |richard-llvm at metafoo.co.uk
Resolution|--- |INVALID
--- Comment #3 from Richard Smith <richard-llvm at metafoo.co.uk> ---
See the documentation here:
http://clang.llvm.org/docs/AttributeReference.html#format-gnu-format
The format argument is not a string literal, and 'test' is not annotated with
the 'format' attribute to indicate that 'fmt' is in fact a format string. So
this is working as designed and intended.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160217/6fba9648/attachment.html>
More information about the llvm-bugs
mailing list